mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 13:20:57 +00:00

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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359878 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|