[llvm] ce75c3d - [gn build] (manually) port 2f6cc21f44e

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 05:36:29 PST 2020


Author: Nico Weber
Date: 2020-02-26T08:36:05-05:00
New Revision: ce75c3d2b62ca6272aa0dee39c8ed06a19336005

URL: https://github.com/llvm/llvm-project/commit/ce75c3d2b62ca6272aa0dee39c8ed06a19336005
DIFF: https://github.com/llvm/llvm-project/commit/ce75c3d2b62ca6272aa0dee39c8ed06a19336005.diff

LOG: [gn build] (manually) port 2f6cc21f44e

Added: 
    llvm/utils/gn/secondary/llvm/tools/llvm-gsym/BUILD.gn

Modified: 
    llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
    llvm/utils/gn/secondary/llvm/test/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
index 3ad55a9cc7b9..ce3618b3cb4a 100644
--- a/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
@@ -14,6 +14,7 @@ static_library("GSYM") {
     "InlineInfo.cpp",
     "LineTable.cpp",
     "LookupResult.cpp",
+    "ObjectFileTransformer.cpp",
     "Range.cpp",
   ]
 }

diff  --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
index 01e69238cfc3..f5e0b1222c82 100644
--- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
@@ -216,6 +216,7 @@ group("test") {
     "//llvm/tools/llvm-elfabi",
     "//llvm/tools/llvm-exegesis",
     "//llvm/tools/llvm-extract",
+    "//llvm/tools/llvm-gsym:llvm-gsymutil",
     "//llvm/tools/llvm-ifs",
     "//llvm/tools/llvm-isel-fuzzer",
     "//llvm/tools/llvm-jitlink",

diff  --git a/llvm/utils/gn/secondary/llvm/tools/llvm-gsym/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-gsym/BUILD.gn
new file mode 100644
index 000000000000..248fc45315b3
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-gsym/BUILD.gn
@@ -0,0 +1,16 @@
+executable("llvm-gsymutil") {
+  deps = [
+    "//llvm/lib/CodeGen/AsmPrinter",
+    "//llvm/lib/DebugInfo/DWARF",
+    "//llvm/lib/DebugInfo/GSYM",
+    "//llvm/lib/MC",
+    "//llvm/lib/Object",
+    "//llvm/lib/Support",
+    "//llvm/lib/Target",
+    "//llvm/lib/Target:TargetsToBuild",
+  ]
+  sources = [
+    # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
+    "llvm-gsymutil.cpp",
+  ]
+}


        


More information about the llvm-commits mailing list