[PATCH] D116222: [Bazel] Add target for llvm-tli-checker
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 23 09:05:44 PST 2021
kuhar created this revision.
kuhar added reviewers: vettoreldaniele, MaskRay, Mogball, rsmith.
Herald added a reviewer: grosser.
kuhar requested review of this revision.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116222
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
@@ -4229,6 +4229,45 @@
],
)
+gentbl(
+ name = "TLICheckerOptsTableGen",
+ strip_include_prefix = "tools/llvm-tli-checker",
+ tbl_outs = [(
+ "-gen-opt-parser-defs",
+ "tools/llvm-tli-checker/Opts.inc",
+ )],
+ tblgen = ":llvm-tblgen",
+ td_file = "tools/llvm-tli-checker/Opts.td",
+ td_srcs = ["include/llvm/Option/OptParser.td"],
+)
+
+cc_binary(
+ name = "llvm-tli-checker",
+ testonly = True,
+ srcs = glob([
+ "tools/llvm-tli-checker/*.cpp",
+ "tools/llvm-tli-checker/*.h",
+ ]),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+ ":Analysis",
+ ":BinaryFormat",
+ ":BitReader",
+ ":BitstreamReader",
+ ":Core",
+ ":Demangle",
+ ":MC",
+ ":MCParser",
+ ":Object",
+ ":Option",
+ ":Remarks",
+ ":Support",
+ ":TextAPI",
+ ":TLICheckerOptsTableGen",
+ ],
+)
+
cc_binary(
name = "obj2yaml",
testonly = True,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116222.396037.patch
Type: text/x-patch
Size: 1229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211223/a4b162d3/attachment.bin>
More information about the llvm-commits
mailing list