[llvm] 5827334 - [gn] port 105d54726b1d7 (lldbValueObject)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 00:16:08 PDT 2024
Author: Nico Weber
Date: 2024-10-25T00:15:58-07:00
New Revision: 5827334ed2c68a660ac73ae251f974333310d30b
URL: https://github.com/llvm/llvm-project/commit/5827334ed2c68a660ac73ae251f974333310d30b
DIFF: https://github.com/llvm/llvm-project/commit/5827334ed2c68a660ac73ae251f974333310d30b.diff
LOG: [gn] port 105d54726b1d7 (lldbValueObject)
Added:
llvm/utils/gn/secondary/lldb/source/ValueObject/BUILD.gn
Modified:
llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Breakpoint/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
llvm/utils/gn/secondary/lldb/source/DataFormatters/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Symbol/BUILD.gn
llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/lldb/source/API/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
index 148f2cbf720442..fae0c22710b068 100644
--- a/llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
@@ -31,6 +31,7 @@ target(liblldb_type, "liblldb") {
"//lldb/source/Symbol",
"//lldb/source/Target",
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//lldb/source/Version",
"//lldb/tools/argdumper:lldb-argdumper",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/lldb/source/Breakpoint/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Breakpoint/BUILD.gn
index 354aa6db95c34c..24a1657759c514 100644
--- a/llvm/utils/gn/secondary/lldb/source/Breakpoint/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Breakpoint/BUILD.gn
@@ -9,6 +9,7 @@ static_library("Breakpoint") {
"//lldb/source/Symbol",
"//lldb/source/Target",
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//llvm/lib/Support",
]
sources = [
diff --git a/llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
index 164ee901f285dd..1fc119c0724486 100644
--- a/llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
@@ -26,6 +26,7 @@ static_library("Commands") {
#"//lldb/source/Symbol", # FIXME: many-hop dependency cycle.
#"//lldb/source/Target", # FIXME: 2-hop dependency cycle.
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//lldb/source/Version",
]
sources = [
diff --git a/llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
index 0c9632a0a1915f..7b690b5c8782aa 100644
--- a/llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
@@ -24,6 +24,7 @@ static_library("Core") {
#"//lldb/source/DataFormatters", # Dependency cycle.
#"//lldb/source/Expression", # Dependency cycle.
"//lldb/source/Host",
+ "//lldb/source/ValueObject",
#"//lldb/source/Interpreter", # Dependency cycle.
#"//lldb/source/Symbol", # Dependency cycle.
@@ -80,20 +81,5 @@ static_library("Core") {
"ThreadedCommunication.cpp",
"UserSettingsController.cpp",
"Value.cpp",
- "ValueObject.cpp",
- "ValueObjectCast.cpp",
- "ValueObjectChild.cpp",
- "ValueObjectConstResult.cpp",
- "ValueObjectConstResultCast.cpp",
- "ValueObjectConstResultChild.cpp",
- "ValueObjectConstResultImpl.cpp",
- "ValueObjectDynamicValue.cpp",
- "ValueObjectList.cpp",
- "ValueObjectMemory.cpp",
- "ValueObjectRegister.cpp",
- "ValueObjectSyntheticFilter.cpp",
- "ValueObjectUpdater.cpp",
- "ValueObjectVTable.cpp",
- "ValueObjectVariable.cpp",
]
}
diff --git a/llvm/utils/gn/secondary/lldb/source/DataFormatters/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/DataFormatters/BUILD.gn
index 5dcbc01053fbe1..52e203c009c717 100644
--- a/llvm/utils/gn/secondary/lldb/source/DataFormatters/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/DataFormatters/BUILD.gn
@@ -8,6 +8,7 @@ static_library("DataFormatters") {
#"//lldb/source/Symbol", # FIXME: 3-hop Dependency cycle (DataFormatters->Symbol->Expression->Interpreter->DataFormatters)
#"//lldb/source/Target", # FIXME: 3-hop Dependency cycle (DataFormatters->Target->Expression->Interpreter->DataFormatters)
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//llvm/lib/Support",
]
sources = [
diff --git a/llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn
index 973c10d14766ef..2163847cf81b51 100644
--- a/llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Expression/BUILD.gn
@@ -9,6 +9,7 @@ static_library("Expression") {
#"//lldb/source/Symbol", # FIXME: Dependency cycle.
#"//lldb/source/Target", # FIXME: Dependency cycle.
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//llvm/lib/ExecutionEngine",
"//llvm/lib/IR",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/BUILD.gn
index b2f572ad3b6689..b1405232ef2c48 100644
--- a/llvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/BUILD.gn
@@ -31,6 +31,7 @@ static_library("DWARF") {
"//lldb/source/Symbol",
"//lldb/source/Target",
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
#"//lldb/source/Plugins/TypeSystem/Clang", # Dependency cycle.
"//llvm/lib/DebugInfo/DWARF",
diff --git a/llvm/utils/gn/secondary/lldb/source/Symbol/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Symbol/BUILD.gn
index 3b1df82a6b2d27..75d2f6d1b21a08 100644
--- a/llvm/utils/gn/secondary/lldb/source/Symbol/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Symbol/BUILD.gn
@@ -8,6 +8,7 @@ static_library("Symbol") {
#"//lldb/source/Target", # FIXME: Dependency cycle.
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//llvm/lib/Support",
]
include_dirs = [ ".." ] # FIXME: Reaches into Utility and Host internals.
diff --git a/llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
index acf9e7aa701e7f..18eaaae1441213 100644
--- a/llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
@@ -28,6 +28,7 @@ static_library("Target") {
"//lldb/source/Plugins/Process/Utility",
"//lldb/source/Symbol",
"//lldb/source/Utility",
+ "//lldb/source/ValueObject",
"//llvm/lib/MC",
"//llvm/lib/Support",
]
diff --git a/llvm/utils/gn/secondary/lldb/source/ValueObject/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/ValueObject/BUILD.gn
new file mode 100644
index 00000000000000..110f0a67614614
--- /dev/null
+++ b/llvm/utils/gn/secondary/lldb/source/ValueObject/BUILD.gn
@@ -0,0 +1,43 @@
+static_library("ValueObject") {
+ output_name = "lldbValueObject"
+ configs += [ "//llvm/utils/gn/build:lldb_code" ]
+ deps = [
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/Breakpoint",
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/DataFormatters",
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/Expression",
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/Symbol",
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/Target",
+ "//lldb/source/Utility",
+
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/Plugins/Language/CPlusPlus",
+ # FIXME: 3-hop dependency cycle
+ #"//lldb/source/Plugins/Language/ObjC",
+ "//llvm/lib/Demangle",
+ "//llvm/lib/Support",
+ "//llvm/lib/TargetParser",
+ ]
+ include_dirs = [ ".." ]
+ sources = [
+ "ValueObject.cpp",
+ "ValueObjectCast.cpp",
+ "ValueObjectChild.cpp",
+ "ValueObjectConstResult.cpp",
+ "ValueObjectConstResultCast.cpp",
+ "ValueObjectConstResultChild.cpp",
+ "ValueObjectConstResultImpl.cpp",
+ "ValueObjectDynamicValue.cpp",
+ "ValueObjectList.cpp",
+ "ValueObjectMemory.cpp",
+ "ValueObjectRegister.cpp",
+ "ValueObjectSyntheticFilter.cpp",
+ "ValueObjectUpdater.cpp",
+ "ValueObjectVariable.cpp",
+ "ValueObjectVTable.cpp",
+ ]
+}
More information about the llvm-commits
mailing list