1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-readobj
George Rimar 691d967bcc [llvm-readobj] - Teach tool to dump objects with >= SHN_LORESERVE of sections.
http://www.sco.com/developers/gabi/2003-12-17/ch4.eheader.html

says that e_shnum and/or e_shstrndx may have special values if
"the number of sections is greater than or equal to SHN_LORESERVE" or
"the section name string table section index is greater than or equal to SHN_LORESERVE (0xff00)"

Previously llvm-readobj was unable to dump such files, patch changes that.

I had to add a precompiled test case because it does not seem possible to
prepare a test using yaml2obj or llvm-mc (not clear how to make .shstrtab
to have index >= SHN_LORESERVE).

Differential revision: https://reviews.llvm.org/D49369

llvm-svn: 337360
2018-07-18 08:19:58 +00:00
..
ARMEHABIPrinter.h Instead of ELFFile<ELFT>::Type, use ELFT::Type. NFC. 2018-01-12 02:28:31 +00:00
ARMWinEHPrinter.cpp Typo fix: epilouge->epilogue. NFC. 2018-03-29 21:59:04 +00:00
ARMWinEHPrinter.h
CMakeLists.txt Reland "[DebugInfo] Support DWARF expressions in eh_frame" 2018-03-08 00:46:53 +00:00
COFFDumper.cpp [llvm-readobj] Add -hex-dump (-x) option 2018-07-11 10:00:29 +00:00
COFFImportDumper.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DwarfCFIEHPrinter.h [llvm-readobj] Make header self-contained 2018-03-12 15:02:59 +00:00
ELFDumper.cpp [llvm-readobj] - Teach tool to dump objects with >= SHN_LORESERVE of sections. 2018-07-18 08:19:58 +00:00
Error.cpp
Error.h
llvm-readobj.cpp MC: Implement support for new .addrsig and .addrsig_sym directives. 2018-07-17 22:17:18 +00:00
llvm-readobj.h [llvm-readobj] Add experimental support for SHT_RELR sections 2018-06-28 21:07:34 +00:00
LLVMBuild.txt
MachODumper.cpp [llvm-readobj] Add -hex-dump (-x) option 2018-07-11 10:00:29 +00:00
ObjDumper.cpp [llvm-readobj] Add -hex-dump (-x) option 2018-07-11 10:00:29 +00:00
ObjDumper.h MC: Implement support for new .addrsig and .addrsig_sym directives. 2018-07-17 22:17:18 +00:00
StackMapPrinter.h
WasmDumper.cpp [WebAssembly] llvm-readobj: display symbols names in relocations 2018-05-01 16:35:16 +00:00
Win64EHDumper.cpp
Win64EHDumper.h
WindowsResourceDumper.cpp
WindowsResourceDumper.h