Skip to content

Commit 5827334

Browse files
committed
[gn] port 105d547 (lldbValueObject)
1 parent 21b3769 commit 5827334

File tree

10 files changed

+52
-15
lines changed

10 files changed

+52
-15
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ target(liblldb_type, "liblldb") {
3131
"//lldb/source/Symbol",
3232
"//lldb/source/Target",
3333
"//lldb/source/Utility",
34+
"//lldb/source/ValueObject",
3435
"//lldb/source/Version",
3536
"//lldb/tools/argdumper:lldb-argdumper",
3637
"//llvm/lib/Support",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ static_library("Breakpoint") {
99
"//lldb/source/Symbol",
1010
"//lldb/source/Target",
1111
"//lldb/source/Utility",
12+
"//lldb/source/ValueObject",
1213
"//llvm/lib/Support",
1314
]
1415
sources = [

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static_library("Commands") {
2626
#"//lldb/source/Symbol", # FIXME: many-hop dependency cycle.
2727
#"//lldb/source/Target", # FIXME: 2-hop dependency cycle.
2828
"//lldb/source/Utility",
29+
"//lldb/source/ValueObject",
2930
"//lldb/source/Version",
3031
]
3132
sources = [

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

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ static_library("Core") {
2424
#"//lldb/source/DataFormatters", # Dependency cycle.
2525
#"//lldb/source/Expression", # Dependency cycle.
2626
"//lldb/source/Host",
27+
"//lldb/source/ValueObject",
2728

2829
#"//lldb/source/Interpreter", # Dependency cycle.
2930
#"//lldb/source/Symbol", # Dependency cycle.
@@ -80,20 +81,5 @@ static_library("Core") {
8081
"ThreadedCommunication.cpp",
8182
"UserSettingsController.cpp",
8283
"Value.cpp",
83-
"ValueObject.cpp",
84-
"ValueObjectCast.cpp",
85-
"ValueObjectChild.cpp",
86-
"ValueObjectConstResult.cpp",
87-
"ValueObjectConstResultCast.cpp",
88-
"ValueObjectConstResultChild.cpp",
89-
"ValueObjectConstResultImpl.cpp",
90-
"ValueObjectDynamicValue.cpp",
91-
"ValueObjectList.cpp",
92-
"ValueObjectMemory.cpp",
93-
"ValueObjectRegister.cpp",
94-
"ValueObjectSyntheticFilter.cpp",
95-
"ValueObjectUpdater.cpp",
96-
"ValueObjectVTable.cpp",
97-
"ValueObjectVariable.cpp",
9884
]
9985
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ static_library("DataFormatters") {
88
#"//lldb/source/Symbol", # FIXME: 3-hop Dependency cycle (DataFormatters->Symbol->Expression->Interpreter->DataFormatters)
99
#"//lldb/source/Target", # FIXME: 3-hop Dependency cycle (DataFormatters->Target->Expression->Interpreter->DataFormatters)
1010
"//lldb/source/Utility",
11+
"//lldb/source/ValueObject",
1112
"//llvm/lib/Support",
1213
]
1314
sources = [

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ static_library("Expression") {
99
#"//lldb/source/Symbol", # FIXME: Dependency cycle.
1010
#"//lldb/source/Target", # FIXME: Dependency cycle.
1111
"//lldb/source/Utility",
12+
"//lldb/source/ValueObject",
1213
"//llvm/lib/ExecutionEngine",
1314
"//llvm/lib/IR",
1415
"//llvm/lib/Support",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ static_library("DWARF") {
3131
"//lldb/source/Symbol",
3232
"//lldb/source/Target",
3333
"//lldb/source/Utility",
34+
"//lldb/source/ValueObject",
3435

3536
#"//lldb/source/Plugins/TypeSystem/Clang", # Dependency cycle.
3637
"//llvm/lib/DebugInfo/DWARF",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ static_library("Symbol") {
88

99
#"//lldb/source/Target", # FIXME: Dependency cycle.
1010
"//lldb/source/Utility",
11+
"//lldb/source/ValueObject",
1112
"//llvm/lib/Support",
1213
]
1314
include_dirs = [ ".." ] # FIXME: Reaches into Utility and Host internals.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ static_library("Target") {
2828
"//lldb/source/Plugins/Process/Utility",
2929
"//lldb/source/Symbol",
3030
"//lldb/source/Utility",
31+
"//lldb/source/ValueObject",
3132
"//llvm/lib/MC",
3233
"//llvm/lib/Support",
3334
]
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
static_library("ValueObject") {
2+
output_name = "lldbValueObject"
3+
configs += [ "//llvm/utils/gn/build:lldb_code" ]
4+
deps = [
5+
# FIXME: 3-hop dependency cycle
6+
#"//lldb/source/Breakpoint",
7+
# FIXME: 3-hop dependency cycle
8+
#"//lldb/source/DataFormatters",
9+
# FIXME: 3-hop dependency cycle
10+
#"//lldb/source/Expression",
11+
# FIXME: 3-hop dependency cycle
12+
#"//lldb/source/Symbol",
13+
# FIXME: 3-hop dependency cycle
14+
#"//lldb/source/Target",
15+
"//lldb/source/Utility",
16+
17+
# FIXME: 3-hop dependency cycle
18+
#"//lldb/source/Plugins/Language/CPlusPlus",
19+
# FIXME: 3-hop dependency cycle
20+
#"//lldb/source/Plugins/Language/ObjC",
21+
"//llvm/lib/Demangle",
22+
"//llvm/lib/Support",
23+
"//llvm/lib/TargetParser",
24+
]
25+
include_dirs = [ ".." ]
26+
sources = [
27+
"ValueObject.cpp",
28+
"ValueObjectCast.cpp",
29+
"ValueObjectChild.cpp",
30+
"ValueObjectConstResult.cpp",
31+
"ValueObjectConstResultCast.cpp",
32+
"ValueObjectConstResultChild.cpp",
33+
"ValueObjectConstResultImpl.cpp",
34+
"ValueObjectDynamicValue.cpp",
35+
"ValueObjectList.cpp",
36+
"ValueObjectMemory.cpp",
37+
"ValueObjectRegister.cpp",
38+
"ValueObjectSyntheticFilter.cpp",
39+
"ValueObjectUpdater.cpp",
40+
"ValueObjectVariable.cpp",
41+
"ValueObjectVTable.cpp",
42+
]
43+
}

0 commit comments

Comments
 (0)