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