aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorJames Henderson <james.henderson@sony.com>2020-03-16 16:33:27 +0000
committerJames Henderson <james.henderson@sony.com>2020-03-23 12:21:20 +0000
commitb259ce998f5537fd4d8ac8418de643406344141d (patch)
treefb8722d28a566360a81c3e039ceff21e0b8cfc34 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent72d1419bfba2a1c4d842ab57849a22d9260a1bb6 (diff)
downloadllvm-b259ce998f5537fd4d8ac8418de643406344141d.zip
llvm-b259ce998f5537fd4d8ac8418de643406344141d.tar.gz
llvm-b259ce998f5537fd4d8ac8418de643406344141d.tar.bz2
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions