mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 15:19:33 +00:00
30f006473b
This is the first part of an effort to add wasm binary support across all llvm tools. Patch by Sam Clegg Differential Revision: https://reviews.llvm.org/D26172 llvm-svn: 288251
28 lines
406 B
CMake
28 lines
406 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmPrinters
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
CodeGen
|
|
DebugInfoDWARF
|
|
DebugInfoPDB
|
|
Demangle
|
|
MC
|
|
MCDisassembler
|
|
Object
|
|
Support
|
|
Symbolize
|
|
)
|
|
|
|
add_llvm_tool(llvm-objdump
|
|
llvm-objdump.cpp
|
|
COFFDump.cpp
|
|
ELFDump.cpp
|
|
MachODump.cpp
|
|
WasmDump.cpp
|
|
)
|
|
|
|
if(HAVE_LIBXAR)
|
|
target_link_libraries(llvm-objdump ${XAR_LIB})
|
|
endif()
|