mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
b0362616c3
Debug BUILD_SHARED_LIBS build was broken by rL332305 Differential Revision: https://reviews.llvm.org/D46859 llvm-svn: 332315
33 lines
519 B
CMake
33 lines
519 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AllTargetsAsmPrinters
|
|
AllTargetsDescs
|
|
AllTargetsDisassemblers
|
|
AllTargetsInfos
|
|
BinaryFormat
|
|
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 PRIVATE ${XAR_LIB})
|
|
endif()
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(objdump llvm-objdump)
|
|
endif()
|