diff options
author | Greg Clayton <gclayton@fb.com> | 2024-11-18 16:25:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 16:25:19 -0800 |
commit | 5ae4d505c38872b3faaeea5779f6c25a9138bbc5 (patch) | |
tree | 0ebffad9c65ff9d6133c2ef67f9e097c90317819 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 170e1fe5a5211420923e32995d8bf3da196c2a54 (diff) | |
download | llvm-5ae4d505c38872b3faaeea5779f6c25a9138bbc5.zip llvm-5ae4d505c38872b3faaeea5779f6c25a9138bbc5.tar.gz llvm-5ae4d505c38872b3faaeea5779f6c25a9138bbc5.tar.bz2 |
Add support for reading the dynamic symbol table from PT_DYNAMIC (#116689)
Resubmissions of https://github.com/llvm/llvm-project/pull/112596 with
buildbot fixes.
Allow LLDB to parse the dynamic symbol table from an ELF file or memory
image in an ELF file that has no section headers. This patch uses the
ability to parse the PT_DYNAMIC segment and find the DT_SYMTAB,
DT_SYMENT, DT_HASH or DT_GNU_HASH to find and parse the dynamic symbol
table if the section headers are not present. It also adds a helper
function to read data from a .dynamic key/value pair entry correctly
from the file or from memory.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions