From de1c0feddcbdd7a3f3497e8bc8a515c5d3ce75a8 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Tue, 22 Mar 2022 09:37:52 +0000 Subject: [PATCH] Update the comment, we still need this if g++ > 5 --- lib/Interpreter/Interpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Interpreter/Interpreter.cpp b/lib/Interpreter/Interpreter.cpp index 88d62d88..eaa75415 100644 --- a/lib/Interpreter/Interpreter.cpp +++ b/lib/Interpreter/Interpreter.cpp @@ -320,7 +320,7 @@ namespace cling { for (const llvm::StringRef& Sym : Syms) { void* Addr = m_Executor->getPointerToGlobalFromJIT(Sym); #if defined(__linux__) - // libstdc++ mangles at_quick_exit on Linux when g++ < 5 + // We need to look for the mangled name of at_quick_exit on linux. if (!Addr && Sym.equals("at_quick_exit")) Addr = m_Executor->getPointerToGlobalFromJIT("_Z13at_quick_exitPFvvE"); #endif