[PATCH] D135568: [Bazel] Add llvm-gsymutil to the Bazel build files.

Simon Giesecke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 04:12:06 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2f46f5090737: Add llvm-gsymutil to the Bazel build files. (authored by simon.giesecke).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135568/new/

https://reviews.llvm.org/D135568

Files:
  utils/bazel/llvm-project-overlay/llvm/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -497,6 +497,22 @@
     ],
 )
 
+cc_library(
+    name = "DebugInfoGSYM",
+    srcs = glob([
+        "lib/DebugInfo/GSYM/*.cpp",
+        "lib/DebugInfo/GSYM/*.h",
+    ]),
+    hdrs = glob(["include/llvm/DebugInfo/GSYM/*.h"]),
+    copts = llvm_copts,
+    deps = [
+        ":DebugInfoDWARF",
+        ":MC",
+        ":Object",
+        ":Support",
+    ],
+)
+
 cc_library(
     name = "Symbolize",
     srcs = glob([
@@ -3112,6 +3128,25 @@
     ],
 )
 
+cc_binary(
+    name = "llvm-gsymutil",
+    srcs = glob([
+        "tools/llvm-gsymutil/*.cpp",
+        "tools/llvm-gsymutil/*.h",
+    ]),
+    copts = llvm_copts,
+    stamp = 0,
+    deps = [
+        ":AllTargetsCodeGens",
+        ":DebugInfoDWARF",
+        ":DebugInfoGSYM",
+        ":MC",
+        ":Object",
+        ":Support",
+        ":Target",
+    ],
+)
+
 gentbl(
     name = "IfsOptionsTableGen",
     strip_include_prefix = "tools/llvm-ifs",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135568.466463.patch
Type: text/x-patch
Size: 1158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221010/8731c76c/attachment.bin>


More information about the llvm-commits mailing list