diff options
author | Greg Clayton <gclayton@fb.com> | 2024-08-12 10:57:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 10:57:04 -0700 |
commit | f1e2886261281e788e4faae406c24e787c1dbdd0 (patch) | |
tree | c1f509375a6695b574a90bac033fceecb9ed0bac /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 90aac06c7f49dd275a49b843b5fd91cb00d549b4 (diff) | |
download | llvm-f1e2886261281e788e4faae406c24e787c1dbdd0.zip llvm-f1e2886261281e788e4faae406c24e787c1dbdd0.tar.gz llvm-f1e2886261281e788e4faae406c24e787c1dbdd0.tar.bz2 |
[LLDB] Impove ObjectFileELF's .dynamic parsing and usage. (#102570)
This patch improves the ability of a ObjectFileELF instance to read the
.dynamic section. It adds the ability to read the .dynamic section from
the PT_DYNAMIC program header which is useful for ELF files that have no
section headers and for ELF files that are read from memory. It cleans
up the usage of the .dynamic entries so that
ObjectFileELF::ParseDynamicSymbols() is the only code that parses
.dynamic entries, teaches that function the read and store the string
values for each .dynamic entry. We now dump the .dynamic entries in the
output of "image dump objfile". It also cleans up the code that gets the
dynamic string table so that it can grab it from the DT_STRTAB and
DT_STRSZ .dynamic entries for when we have a ELF file with no section
headers or we are reading it from memory.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions