[PATCH] D135568: Add llvm-gsymutil to the Bazel build files.
Simon Giesecke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 03:16:41 PDT 2022
simon.giesecke created this revision.
Herald added a project: All.
simon.giesecke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
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.466459.patch
Type: text/x-patch
Size: 1158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221010/6579bd38/attachment.bin>
More information about the llvm-commits
mailing list