mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
0e7b0fcc48
Summary: Original change was D43313 (r326932) and reverted by r326953 because it broke an LLD test and a windows build. The LLD test was already fixed in lld commit r326944 (thanks maskray). This is the original change with the windows build fixed. llvm-svn: 326970
31 lines
530 B
CMake
31 lines
530 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
DebugInfoCodeView
|
|
DebugInfoDWARF
|
|
Object
|
|
BinaryFormat
|
|
Support
|
|
DebugInfoCodeView
|
|
DebugInfoMSF
|
|
DebugInfoPDB
|
|
)
|
|
|
|
add_llvm_tool(llvm-readobj
|
|
ARMWinEHPrinter.cpp
|
|
COFFDumper.cpp
|
|
COFFImportDumper.cpp
|
|
ELFDumper.cpp
|
|
Error.cpp
|
|
llvm-readobj.cpp
|
|
MachODumper.cpp
|
|
ObjDumper.cpp
|
|
WasmDumper.cpp
|
|
Win64EHDumper.cpp
|
|
WindowsResourceDumper.cpp
|
|
)
|
|
|
|
add_llvm_tool_symlink(llvm-readelf llvm-readobj)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(readelf llvm-readobj)
|
|
endif()
|