1 set(LLVM_LINK_COMPONENTS 2 AllTargetsAsmPrinters 3 AllTargetsDescs 4 AllTargetsDisassemblers 5 AllTargetsInfos 6 BinaryFormat 7 CodeGen 8 DebugInfoDWARF 9 DebugInfoPDB 10 Demangle 11 MC 12 MCDisassembler 13 Object 14 Support 15 Symbolize 16 ) 17 18 add_llvm_tool(llvm-objdump 19 llvm-objdump.cpp 20 COFFDump.cpp 21 ELFDump.cpp 22 MachODump.cpp 23 WasmDump.cpp 24 ) 25 26 if(HAVE_LIBXAR) 27 target_link_libraries(llvm-objdump PRIVATE ${XAR_LIB}) 28 endif() 29 30 if(LLVM_INSTALL_BINUTILS_SYMLINKS) 31 add_llvm_tool_symlink(objdump llvm-objdump) 32 endif() 33