[gn build] (manually) port 38be8f4057 (llvm-tli-checker)

This commit is contained in:
Nico Weber 2021-11-08 23:14:44 -05:00
parent 63886c21ec
commit f006564f42
2 changed files with 27 additions and 0 deletions

View File

@ -286,6 +286,7 @@ group("test") {
"//llvm/tools/llvm-strings",
"//llvm/tools/llvm-symbolizer:symlinks",
"//llvm/tools/llvm-tapi-diff",
"//llvm/tools/llvm-tli-checker",
"//llvm/tools/llvm-undname",
"//llvm/tools/llvm-xray",
"//llvm/tools/lto",

View File

@ -0,0 +1,26 @@
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Opts") {
visibility = [ ":llvm-tli-checker" ]
args = [ "-gen-opt-parser-defs" ]
}
executable("llvm-tli-checker") {
deps = [
":Opts",
"//llvm/lib/Analysis",
"//llvm/lib/BinaryFormat",
"//llvm/lib/Bitcode/Reader",
"//llvm/lib/Bitstream/Reader",
"//llvm/lib/Demangle",
"//llvm/lib/IR",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Object",
"//llvm/lib/Option",
"//llvm/lib/Remarks",
"//llvm/lib/Support",
"//llvm/lib/TextAPI",
]
sources = [ "llvm-tli-checker.cpp" ]
}