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

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 00:26:36 PST 2025


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

> Neither of those apply to this PR because clangCodeGen and lldbTarget are not LLDB plugins.

It's more about the non-plugin part of LLDB not depending on compiler specifics. Not sure we document that explicitly. One example where this mattered (though admittedly isn't directly applicable here because Target isn't linked into lldb-server) were the efforts to remove Clang link dependencies from pats of LLDB that get pulled in by lldb-server in order to reduce its size. All I'm saying is, so far all the linking against libClang has been done from plugins that abstract over the language/compiler. I'll let Jonas/Jim comment chime in/correct me on this.

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


More information about the cfe-commits mailing list