2011-01-20 14:39:06 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2015-10-08 06:39:17 +08:00
|
|
|
AllTargetsAsmPrinters
|
|
|
|
AllTargetsDescs
|
|
|
|
AllTargetsDisassemblers
|
|
|
|
AllTargetsInfos
|
2015-06-23 08:59:12 +08:00
|
|
|
CodeGen
|
2015-01-31 02:07:45 +08:00
|
|
|
DebugInfoDWARF
|
2016-08-16 03:49:24 +08:00
|
|
|
DebugInfoPDB
|
2016-09-07 03:16:48 +08:00
|
|
|
Demangle
|
2011-01-20 14:39:06 +08:00
|
|
|
MC
|
2014-07-24 10:10:42 +08:00
|
|
|
MCDisassembler
|
2011-01-20 14:39:06 +08:00
|
|
|
Object
|
2013-12-10 19:13:32 +08:00
|
|
|
Support
|
2016-08-16 03:49:24 +08:00
|
|
|
Symbolize
|
2011-01-20 14:39:06 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_tool(llvm-objdump
|
|
|
|
llvm-objdump.cpp
|
2012-12-06 04:12:35 +08:00
|
|
|
COFFDump.cpp
|
2013-01-06 11:56:49 +08:00
|
|
|
ELFDump.cpp
|
2011-09-20 01:56:04 +08:00
|
|
|
MachODump.cpp
|
2016-12-01 00:49:11 +08:00
|
|
|
WasmDump.cpp
|
2011-01-20 14:39:06 +08:00
|
|
|
)
|
2016-05-27 00:32:40 +08:00
|
|
|
|
|
|
|
if(HAVE_LIBXAR)
|
|
|
|
target_link_libraries(llvm-objdump ${XAR_LIB})
|
|
|
|
endif()
|