mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
b7773a156f
Patch adds support for dumping of file headers with llvm-readobj. XCOFF object files are added to test dumping a well formed file, and dumping both negative timestamps and negative symbol counts, both of which are allowed in the XCOFF definition. Differential Revision: https://reviews.llvm.org/D60878 llvm-svn: 359878
33 lines
559 B
CMake
33 lines
559 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
DebugInfoCodeView
|
|
DebugInfoDWARF
|
|
Demangle
|
|
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
|
|
XCOFFDumper.cpp
|
|
)
|
|
|
|
add_llvm_tool_symlink(llvm-readelf llvm-readobj)
|
|
|
|
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
|
|
add_llvm_tool_symlink(readelf llvm-readobj)
|
|
endif()
|