mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
d2ae6e2eba
Currently it is impossible to create an instance of ELFObjectFile when the SHT_SYMTAB_SHNDX can't be read. We error out when fail to parse the SHT_SYMTAB_SHNDX section in the factory method. This change delays reading of the SHT_SYMTAB_SHNDX section entries, with it llvm-readobj is now able to work with such inputs. Differential revision: https://reviews.llvm.org/D89379
20 lines
349 B
CMake
20 lines
349 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BinaryFormat
|
|
Object
|
|
ObjectYAML
|
|
)
|
|
|
|
add_llvm_unittest(ObjectTests
|
|
ArchiveTest.cpp
|
|
ELFObjectFileTest.cpp
|
|
ELFTypesTest.cpp
|
|
ELFTest.cpp
|
|
MinidumpTest.cpp
|
|
ObjectFileTest.cpp
|
|
SymbolSizeTest.cpp
|
|
SymbolicFileTest.cpp
|
|
XCOFFObjectFileTest.cpp
|
|
)
|
|
|
|
target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)
|