mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
[lldb][NFC] Mark ValueObject library with NO_PLUGIN_DEPENDENCIES (#167794)
The ValueObject library doesn't actually depend on any plugins currently, but it links against the C++ and ObjC language plugins. I removed those and added NO_PLUGIN_DEPENDENCIES. However, the build failed initally because the Commands library depends on clangFrontend and it was previously getting it transitively through ValueObject -> C++/ObjC Language -> clangFrontend. This makes the dependency more explicit.
This commit is contained in:
@@ -58,6 +58,8 @@ add_lldb_library(lldbCommands NO_PLUGIN_DEPENDENCIES
|
||||
lldbUtility
|
||||
lldbValueObject
|
||||
lldbVersion
|
||||
CLANG_LIBS
|
||||
clangFrontend
|
||||
)
|
||||
|
||||
add_dependencies(lldbCommands LLDBOptionsGen)
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user