1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-readobj
James Henderson 8f87046c8a [llvm-readobj] Derive dynamic symtab size from DT_HASH
If the section headers have been removed by a tool such as llvm-objcopy
or llvm-strip, previously llvm-readobj/llvm-readelf would not dump the
dynamic symbols when --dyn-symbols was specified. However, the nchain
value of the DT_HASH data specifies the number of dynamic symbols, so if
it is present, we can use that. This patch implements this behaviour.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45089.

Reviewed by: grimar, MaskRay

Differential Revision: https://reviews.llvm.org/D76352
2020-03-23 12:21:20 +00:00
..
ARMEHABIPrinter.h
ARMWinEHPrinter.cpp [llvm-readobj] Fix/improve printing WinEH unwind info for linked PE images 2019-12-11 10:20:34 +02:00
ARMWinEHPrinter.h
CMakeLists.txt
COFFDumper.cpp Implement CET Shadow Stack (Intel Controlflow Enforcement Technology) support on Windows 2020-03-16 17:51:32 +09:00
COFFImportDumper.cpp
DwarfCFIEHPrinter.h [DebugInfo] Add a DWARFDataExtractor constructor that takes ArrayRef<uint8_t> 2020-02-09 17:45:32 -08:00
ELFDumper.cpp [llvm-readobj] Derive dynamic symtab size from DT_HASH 2020-03-23 12:21:20 +00:00
Error.cpp
Error.h
llvm-readobj.cpp [llvm-readelf] Make --all output order closer to GNU readelf 2020-03-04 12:22:12 -08:00
llvm-readobj.h
LLVMBuild.txt
MachODumper.cpp
ObjDumper.cpp Make bugpoint work with gcc5 again. 2020-01-29 03:11:00 +01:00
ObjDumper.h [llvm-readobj] - Implement --dependent-libraries flag. 2019-12-06 14:28:29 +03:00
StackMapPrinter.h
WasmDumper.cpp [WebAssembly] Use llvm::Optional to store optional symbol attributes. NFC. 2020-02-19 17:25:33 -08:00
Win64EHDumper.cpp [llvm-readobj] Fix/improve printing WinEH unwind info for linked PE images 2019-12-11 10:20:34 +02:00
Win64EHDumper.h
WindowsResourceDumper.cpp
WindowsResourceDumper.h
XCOFFDumper.cpp Using crtp to refactor the xcoff section header 2019-11-07 11:51:34 -05:00