Skip to content

Commit 13956fd

Browse files
committed
[gn] port c3a302d (SymbolLocator) more
I forgot that lldb/source/Plugins/CMakeLists.txt implicitly builds all enums via LLDB_ENUM_PLUGINS / Plugins.def.in. Now the GN build does this for the SymbolLocator plugins too. (Also fix some minor stuff now that they actually build.)
1 parent 7c1ad51 commit 13956fd

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,22 @@ lldb_plugins += [
160160
"//lldb/source/Plugins/SymbolFile/Symtab",
161161
"SymbolFileSymtab",
162162
],
163+
[
164+
"//lldb/source/Plugins/SymbolLocator/Default",
165+
"SymbolLocatorDefault",
166+
],
163167
]
164168
if (current_os == "mac") {
165-
lldb_plugins += [ [
166-
"//lldb/source/Plugins/SymbolVendor/MacOSX",
167-
"SymbolVendorMacOSX",
168-
] ]
169+
lldb_plugins += [
170+
[
171+
"//lldb/source/Plugins/SymbolLocator/DebugSymbols",
172+
"SymbolLocatorDebugSymbols",
173+
],
174+
[
175+
"//lldb/source/Plugins/SymbolVendor/MacOSX",
176+
"SymbolVendorMacOSX",
177+
],
178+
]
169179
}
170180
lldb_plugins += [
171181
[
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
static_library("DebugSymbols") {
2-
output_name = "lldbPluginSymbolLocatorDebugSymbols "
2+
output_name = "lldbPluginSymbolLocatorDebugSymbols"
33
configs += [ "//llvm/utils/gn/build:lldb_code" ]
44
deps = [
55
"//lldb/source/Core",
66
"//lldb/source/Host",
77
"//lldb/source/Symbol",
88
]
99

10+
# Reaches into Plugins/ObjectFile/wasm.
11+
include_dirs = [ "//lldb/source" ]
1012
sources = [ "SymbolLocatorDebugSymbols.cpp" ]
1113
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
static_library("DebugSymbols") {
2-
output_name = "lldbPluginSymbolLocatorDefault "
1+
static_library("Default") {
2+
output_name = "lldbPluginSymbolLocatorDefault"
33
configs += [ "//llvm/utils/gn/build:lldb_code" ]
44
deps = [
55
"//lldb/source/Core",
66
"//lldb/source/Host",
77
"//lldb/source/Symbol",
88
]
99

10+
# Reaches into Plugins/ObjectFile/wasm.
11+
include_dirs = [ "//lldb/source" ]
1012
sources = [ "SymbolLocatorDefault.cpp" ]
1113
}

0 commit comments

Comments
 (0)