llvm-mirror/test/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
..
COFF Implement CET Shadow Stack (Intel Controlflow Enforcement Technology) support on Windows 2020-03-16 17:51:32 +09:00
ELF [llvm-readobj] Derive dynamic symtab size from DT_HASH 2020-03-23 12:21:20 +00:00
MachO [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
wasm [WebAssembly] Use llvm::Optional to store optional symbol attributes. NFC. 2020-02-19 17:25:33 -08:00
archive.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
basic.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
thin-archive.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00