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

> Can you elaborate on this restriction? Given that LLDB already links against 
> Clang it's not obvious to me why linking against clangCodeGen would be a 
> problem

AFAIU the core of LLDB is supposed to be as generic as possible. Plugins are 
supposed to provide the abstractions over programming language/runtime 
specifics. There's some discussion here: 
https://lldb.llvm.org/resources/contributing.html#lldb-plugins-and-their-dependencies

I'm not sure whether there's more to it other than "it's LLDB's preferred 
architectural design". @JDevlieghere @jimingham will be able to say more on this

https://github.com/llvm/llvm-project/pull/165996
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to