[llvm] a63fd9d - [gn] port a920ae3b8d1e9 (DWARFLinkerParallel)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 09:53:02 PST 2023
Author: Nico Weber
Date: 2023-01-20T12:52:57-05:00
New Revision: a63fd9d606e6a3eeff9cef29e4a6db3883cb6e78
URL: https://github.com/llvm/llvm-project/commit/a63fd9d606e6a3eeff9cef29e4a6db3883cb6e78
DIFF: https://github.com/llvm/llvm-project/commit/a63fd9d606e6a3eeff9cef29e4a6db3883cb6e78.diff
LOG: [gn] port a920ae3b8d1e9 (DWARFLinkerParallel)
Added:
llvm/utils/gn/secondary/llvm/lib/DWARFLinkerParallel/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/DWARFLinkerParallel/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/DWARFLinkerParallel/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/DWARFLinkerParallel/BUILD.gn
new file mode 100644
index 0000000000000..b721044252313
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/lib/DWARFLinkerParallel/BUILD.gn
@@ -0,0 +1,13 @@
+static_library("DWARFLinkerParallel") {
+ output_name = "LLVMDWARFLinkerParallel"
+ deps = [
+ "//llvm/lib/BinaryFormat",
+ "//llvm/lib/CodeGen",
+ "//llvm/lib/CodeGen/AsmPrinter",
+ "//llvm/lib/DebugInfo/DWARF",
+ "//llvm/lib/MC",
+ "//llvm/lib/Object",
+ "//llvm/lib/Support",
+ ]
+ sources = [ "DWARFLinker.cpp" ]
+}
diff --git a/llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
index 4b5b0232b3f21..9781c9a818a49 100644
--- a/llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/dsymutil/BUILD.gn
@@ -10,6 +10,7 @@ executable("dsymutil") {
":Options",
"//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/DWARFLinker",
+ "//llvm/lib/DWARFLinkerParallel",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/MC",
"//llvm/lib/Object",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
index 7ced1038117f1..685a0f73b6553 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
@@ -9,6 +9,7 @@ executable("llvm-dwarfutil") {
deps = [
":Options",
"//llvm/lib/DWARFLinker",
+ "//llvm/lib/DWARFLinkerParallel",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/MC",
"//llvm/lib/ObjCopy",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index dcd2758dacd61..e8cde089eadde 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -10,6 +10,7 @@ group("unittests") {
"Bitstream:BitstreamTests",
"CodeGen:CodeGenTests",
"CodeGen/GlobalISel:GlobalISelTests",
+ "DWARFLinkerParallel:DWARFLinkerParallelTests",
"DebugInfo/CodeView:DebugInfoCodeViewTests",
"DebugInfo/DWARF:DebugInfoDWARFTests",
"DebugInfo/GSYM:DebugInfoGSYMTests",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/DWARFLinkerParallel/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/DWARFLinkerParallel/BUILD.gn
new file mode 100644
index 0000000000000..621eafaa88377
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/DWARFLinkerParallel/BUILD.gn
@@ -0,0 +1,10 @@
+import("//third-party/unittest/unittest.gni")
+
+unittest("DWARFLinkerParallelTests") {
+ deps = [
+ "//llvm/lib/DWARFLinkerParallel",
+ "//llvm/lib/Support",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [ "DWARFLinkerTest.cpp" ]
+}
More information about the llvm-commits
mailing list