Skip to content

Commit bfe997e

Browse files
committed
[bazel] Port ec64af5
1 parent dbd884c commit bfe997e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5172,6 +5172,18 @@ cc_binary(
51725172
],
51735173
)
51745174

5175+
gentbl(
5176+
name = "ReadTAPIOptsTableGen",
5177+
strip_include_prefix = "tools/llvm-readtapi",
5178+
tbl_outs = [(
5179+
"-gen-opt-parser-defs",
5180+
"tools/llvm-readtapi/TapiOpts.inc",
5181+
)],
5182+
tblgen = ":llvm-tblgen",
5183+
td_file = "tools/llvm-readtapi/TapiOpts.td",
5184+
td_srcs = ["include/llvm/Option/OptParser.td"],
5185+
)
5186+
51755187
cc_binary(
51765188
name = "llvm-readtapi",
51775189
testonly = True,
@@ -5183,6 +5195,8 @@ cc_binary(
51835195
stamp = 0,
51845196
deps = [
51855197
":Object",
5198+
":Option",
5199+
":ReadTAPIOptsTableGen",
51865200
":Support",
51875201
":TextAPI",
51885202
],

0 commit comments

Comments
 (0)