Skip to content

Commit ff488eb

Browse files
committed
[lldb] Adapt lldb to upstream's layering violation check
d33eec8 added a layering violation check, where we can explicitly mark some layering violations as tolerated until fixed.
1 parent 2c0ddfc commit ff488eb

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

lldb/source/Plugins/ExpressionParser/Swift/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ if(NOT LLDB_BUILT_STANDALONE)
22
set(tablegen_deps intrinsics_gen)
33
endif()
44

5+
set_property(DIRECTORY PROPERTY LLDB_TOLERATED_PLUGIN_DEPENDENCIES
6+
LanguageRuntime
7+
TypeSystem
8+
)
9+
510
add_lldb_library(lldbPluginExpressionParserSwift PLUGIN
611
SwiftASTManipulator.cpp
712
SwiftExpressionParser.cpp

lldb/source/Plugins/LanguageRuntime/Swift/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
set_property(DIRECTORY PROPERTY LLDB_TOLERATED_PLUGIN_DEPENDENCIES Language)
2+
13
add_lldb_library(lldbPluginSwiftLanguageRuntime PLUGIN
24
LLDBMemoryReader.cpp
35
ReflectionContext.cpp

lldb/source/Plugins/OperatingSystem/SwiftTasks/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
set_property(DIRECTORY PROPERTY LLDB_TOLERATED_PLUGIN_DEPENDENCIES LanguageRuntime)
2+
13
add_lldb_library(lldbPluginOperatingSystemSwiftTasks PLUGIN
24
OperatingSystemSwiftTasks.cpp
35

0 commit comments

Comments
 (0)