aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@fb.com>2024-11-18 16:25:19 -0800
committerGitHub <noreply@github.com>2024-11-18 16:25:19 -0800
commit5ae4d505c38872b3faaeea5779f6c25a9138bbc5 (patch)
tree0ebffad9c65ff9d6133c2ef67f9e097c90317819 /clang/lib/Frontend/CompilerInvocation.cpp
parent170e1fe5a5211420923e32995d8bf3da196c2a54 (diff)
downloadllvm-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