Re-land [lldb][NFC] Mark ValueObject library with NO_PLUGIN_DEPENDENCIES (#167933)

This is a fixed version of #167886.

The build previously failed with `BUILD_SHARED_LIBS=ON`. After trying
that locally, I uncovered a few other instances of lldb non-plugin
libraries depending on clang transitively through lldbValueObject, so I
added the correct clang libraries to their dependencies.
This commit is contained in:
Alex Langford
2025-11-14 11:17:04 -08:00
committed by GitHub
parent 0190951a3e
commit 3a08e423f1
4 changed files with 8 additions and 3 deletions

View File

@@ -58,6 +58,9 @@ add_lldb_library(lldbCommands NO_PLUGIN_DEPENDENCIES
lldbUtility
lldbValueObject
lldbVersion
CLANG_LIBS
clangFrontend
clangSerialization
)
add_dependencies(lldbCommands LLDBOptionsGen)

View File

@@ -24,6 +24,7 @@ add_lldb_library(lldbExpression NO_PLUGIN_DEPENDENCIES
LINK_COMPONENTS
Core
DebugInfoDWARF
ExecutionEngine
Support
LINK_LIBS

View File

@@ -1,4 +1,4 @@
add_lldb_library(lldbValueObject
add_lldb_library(lldbValueObject NO_PLUGIN_DEPENDENCIES
DILAST.cpp
DILEval.cpp
DILLexer.cpp
@@ -34,6 +34,4 @@ add_lldb_library(lldbValueObject
lldbSymbol
lldbTarget
lldbUtility
lldbPluginCPlusPlusLanguage
lldbPluginObjCLanguage
)

View File

@@ -40,4 +40,7 @@ add_lldb_library(lldbVersion NO_PLUGIN_DEPENDENCIES
ADDITIONAL_HEADERS
${version_inc}
${vcs_version_inc}
CLANG_LIBS
clangBasic
)