From d1922859af67b116d74bd1bcac6e58985e022254 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Thu, 5 Dec 2024 10:27:09 +0000 Subject: [PATCH] Force dwarf frames --- lib/Interpreter/CppInterOp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Interpreter/CppInterOp.cpp b/lib/Interpreter/CppInterOp.cpp index f69095de..4019288c 100644 --- a/lib/Interpreter/CppInterOp.cpp +++ b/lib/Interpreter/CppInterOp.cpp @@ -2705,6 +2705,8 @@ namespace Cpp { #ifdef _WIN32 // FIXME : Workaround Sema::PushDeclContext assert on windows ClingArgv.push_back("-fno-delayed-template-parsing"); +#elif __APPLE__ + ClingArgv.push_back("-fforce-dwarf-frame"); #endif ClingArgv.insert(ClingArgv.end(), Args.begin(), Args.end()); // To keep the Interpreter creation interface between cling and clang-repl