[Lldb-commits] [clang] [lldb] [Clang][LLDB] Refactor trap reason demangling out of LLDB and into Clang (PR #165996)

Dan Liew via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 2 22:43:31 PST 2025


================
@@ -97,6 +97,9 @@ add_lldb_library(lldbTarget
     lldbUtility
     lldbValueObject
     lldbPluginProcessUtility
+
+  CLANG_LIBS
+    clangCodeGen
----------------
delcypher wrote:

> Yea we can definitely do it incrementally. Will try to put something up for review tomorrow

Thanks. It just occurred to me that might not be enough. I'm also refactoring this code so it can be used from within a instrumentation plugin (under `lldb/source/Plugins/InstrumentationRuntime`). So it needs to be acceptable to link against `clangCodeGen` from a plugin. Do you forsee a problem with doing that?

https://github.com/llvm/llvm-project/pull/165996


More information about the lldb-commits mailing list