[PATCH] D130720: Add `llvm-dwarfutil` to Bazel targets
Daniele Vettorel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 12:55:55 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe7c004854d2b: Add `llvm-dwarfutil` to Bazel targets (authored by vettoreldaniele).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130720/new/
https://reviews.llvm.org/D130720
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
@@ -2991,6 +2991,40 @@
],
)
+gentbl(
+ name = "DwarfutilOptionsTableGen",
+ strip_include_prefix = "tools/llvm-dwarfutil",
+ tbl_outs = [(
+ "-gen-opt-parser-defs",
+ "tools/llvm-dwarfutil/Options.inc",
+ )],
+ tblgen = ":llvm-tblgen",
+ td_file = "tools/llvm-dwarfutil/Options.td",
+ td_srcs = ["include/llvm/Option/OptParser.td"],
+)
+
+cc_binary(
+ name = "llvm-dwarfutil",
+ srcs = glob([
+ "tools/llvm-dwarfutil/*.cpp",
+ "tools/llvm-dwarfutil/*.h",
+ ]),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+ ":AllTargetsAsmParsers",
+ ":AllTargetsCodeGens",
+ ":DWARFLinker",
+ ":DwarfutilOptionsTableGen",
+ ":MC",
+ ":ObjCopy",
+ ":Object",
+ ":Option",
+ ":Support",
+ ":Target",
+ ],
+)
+
cc_binary(
name = "llvm-dwp",
srcs = glob([
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130720.448421.patch
Type: text/x-patch
Size: 1130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220728/e4fad4ce/attachment.bin>
More information about the llvm-commits
mailing list