mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
7a578c9156
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288251 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|