aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@fb.com>2024-11-18 10:18:11 -0800
committerGitHub <noreply@github.com>2024-11-18 10:18:11 -0800
commita7b2e73bcaa91255a20f1f2e692bec9eb6c17022 (patch)
tree8187eb472b52efaa95dc3c882f9054d3a4031e59 /llvm/lib/Object/ELFObjectFile.cpp
parent589ab28d87616006d7f8cf2402379811e2a6183f (diff)
downloadllvm-a7b2e73bcaa91255a20f1f2e692bec9eb6c17022.zip
llvm-a7b2e73bcaa91255a20f1f2e692bec9eb6c17022.tar.gz
llvm-a7b2e73bcaa91255a20f1f2e692bec9eb6c17022.tar.bz2
Add support for reading the dynamic symbol table from PT_DYNAMIC (#112596)
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 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions