[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / gn / secondary / llvm / tools / llc / BUILD.gn
blob5f7aff10d993e2ddd62832620d82f0442c45c9db
1 executable("llc") {
2   deps = [
3     "//llvm/lib/Analysis",
4     "//llvm/lib/CodeGen",
5     "//llvm/lib/CodeGen/AsmPrinter",
6     "//llvm/lib/CodeGen/MIRParser",
7     "//llvm/lib/CodeGen/SelectionDAG",
8     "//llvm/lib/IR",
9     "//llvm/lib/IRReader",
10     "//llvm/lib/MC",
11     "//llvm/lib/Support",
12     "//llvm/lib/Target",
13     "//llvm/lib/Target:TargetsToBuild",
14     "//llvm/lib/Transforms/Scalar",
15     "//llvm/lib/Transforms/Utils",
16     "//llvm/lib/Transforms/Vectorize",
17   ]
18   sources = [
19     "llc.cpp",
20   ]
22   # Support plugins.
23   # FIXME: Disable dead stripping once other binaries are dead-stripped.
24   if (host_os != "mac" && host_os != "win") {
25     # Corresponds to export_executable_symbols() in cmake.
26     ldflags = [ "-rdynamic" ]
27   }