[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / gn / secondary / llvm / tools / llvm-objdump / BUILD.gn
blob3b1670bb8d48fde0014e70aca0d782e6ae847b56
1 import("//llvm/tools/binutils_symlinks.gni")
2 import("//llvm/utils/gn/build/symlink_or_copy.gni")
4 if (llvm_install_binutils_symlinks) {
5   symlink_or_copy("objdump") {
6     deps = [
7       ":llvm-objdump",
8     ]
9     source = "llvm-objdump"
10     output = "$root_out_dir/bin/objdump"
11   }
14 # //:llvm-objdump depends on this symlink target, see comment in //BUILD.gn.
15 group("symlinks") {
16   deps = [
17     ":llvm-objdump",
18   ]
19   if (llvm_install_binutils_symlinks) {
20     deps += [ ":objdump" ]
21   }
24 executable("llvm-objdump") {
25   deps = [
26     "//llvm/include/llvm/Config:config",
27     "//llvm/lib/CodeGen",
28     "//llvm/lib/DebugInfo/DWARF",
29     "//llvm/lib/DebugInfo/PDB",
30     "//llvm/lib/DebugInfo/Symbolize",
31     "//llvm/lib/Demangle",
32     "//llvm/lib/MC",
33     "//llvm/lib/MC/MCDisassembler",
34     "//llvm/lib/Object",
35     "//llvm/lib/Support",
36     "//llvm/lib/Target:AllTargetsDescs",
37     "//llvm/lib/Target:AllTargetsDisassemblers",
38     "//llvm/lib/Target:AllTargetsInfos",
39     "//llvm/utils/gn/build/libs/xar",
40   ]
41   sources = [
42     "COFFDump.cpp",
43     "ELFDump.cpp",
44     "MachODump.cpp",
45     "WasmDump.cpp",
46     "llvm-objdump.cpp",
47   ]