Skip to content

Commit f006564

Browse files
committed
[gn build] (manually) port 38be8f4 (llvm-tli-checker)
1 parent 63886c2 commit f006564

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

llvm/utils/gn/secondary/llvm/test/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ group("test") {
286286
"//llvm/tools/llvm-strings",
287287
"//llvm/tools/llvm-symbolizer:symlinks",
288288
"//llvm/tools/llvm-tapi-diff",
289+
"//llvm/tools/llvm-tli-checker",
289290
"//llvm/tools/llvm-undname",
290291
"//llvm/tools/llvm-xray",
291292
"//llvm/tools/lto",
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import("//llvm/utils/TableGen/tablegen.gni")
2+
3+
tablegen("Opts") {
4+
visibility = [ ":llvm-tli-checker" ]
5+
args = [ "-gen-opt-parser-defs" ]
6+
}
7+
8+
executable("llvm-tli-checker") {
9+
deps = [
10+
":Opts",
11+
"//llvm/lib/Analysis",
12+
"//llvm/lib/BinaryFormat",
13+
"//llvm/lib/Bitcode/Reader",
14+
"//llvm/lib/Bitstream/Reader",
15+
"//llvm/lib/Demangle",
16+
"//llvm/lib/IR",
17+
"//llvm/lib/MC",
18+
"//llvm/lib/MC/MCParser",
19+
"//llvm/lib/Object",
20+
"//llvm/lib/Option",
21+
"//llvm/lib/Remarks",
22+
"//llvm/lib/Support",
23+
"//llvm/lib/TextAPI",
24+
]
25+
sources = [ "llvm-tli-checker.cpp" ]
26+
}

0 commit comments

Comments
 (0)