1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/unittests/Object
Georgii Rymar 8e4afeec9b [llvm-readelf/obj] - Add support of multiple SHT_SYMTAB_SHNDX sections.
Currently we don't support multiple SHT_SYMTAB_SHNDX sections
and the DT_SYMTAB_SHNDX tag currently.

This patch implements it and fixes the
https://bugs.llvm.org/show_bug.cgi?id=43991.

I had to introduce the `struct DataRegion` to ELF.h,
it is used to represent a region that might have no known size.
It is needed, because we don't know the size of the extended
section indices table when it is located via DT_SYMTAB_SHNDX.
In this case we still want to validate that we don't read
past the end of the file.

Differential revision: https://reviews.llvm.org/D92923
2021-01-13 11:36:43 +03:00
..
ArchiveTest.cpp [Object][unittest] Skip tests on machines with non-64 bit size_t 2020-03-11 15:31:30 +00:00
CMakeLists.txt [llvm-readobj/libObject] - Allow dumping objects that has a broken SHT_SYMTAB_SHNDX section. 2020-11-03 11:30:28 +03:00
ELFObjectFileTest.cpp [PowerPC] Support powerpcle target in LLVMObject [2/5] 2021-01-02 12:17:39 -06:00
ELFTest.cpp [llvm-readelf/obj] - Add support of multiple SHT_SYMTAB_SHNDX sections. 2021-01-13 11:36:43 +03:00
ELFTypesTest.cpp [ELF] Fixing an issue in Elf_Note_Impl::getDescAsStringRef 2020-06-16 10:08:31 +00:00
MinidumpTest.cpp [unittests] Fix "comparison of integers of different signs" warnings 2020-01-14 13:24:51 +01:00
ObjectFileTest.cpp Add operator<< for object::SectionedAddress 2019-11-19 10:34:30 +01:00
SymbolicFileTest.cpp
SymbolSizeTest.cpp
XCOFFObjectFileTest.cpp [AIX][XCOFF][NFC] Change geNumberOfVRSaved function name to getNumberOfVRSaved. 2020-11-27 13:37:43 -05:00