aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-02-17 17:29:55 +0100
committerPavel Labath <pavel@labath.sk>2020-02-18 11:02:34 +0100
commit00539d8b6425529240d970082c23e6ee1263669b (patch)
tree7926a5307aa4857cf08ae01e11a06a6e493c9b92 /llvm/lib/Bitcode
parent8b65f792a0a96a091c24fdacf4ce04686e0eefb2 (diff)
downloadllvm-00539d8b6425529240d970082c23e6ee1263669b.zip
llvm-00539d8b6425529240d970082c23e6ee1263669b.tar.gz
llvm-00539d8b6425529240d970082c23e6ee1263669b.tar.bz2
[lldb/DWARF] Support the debug_str_offsets section in dwp files
Summary: In dwp files a constant (from the debug_cu_index section) needs to be added to each reference into the debug_str_offsets section. I've tried to implement this to roughly match the llvm flow: I've changed the DWARFormValue to stop resolving the indirect string references directly -- instead, it calls into DWARFUnit, which resolves this for it (similar to how it already resolves indirect range and location list references). I've also done a small refactor of the string offset base computation code in DWARFUnit in order to make it easier to access the debug_cu_index base offset. Reviewers: JDevlieghere, aprantl, clayborg Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74723
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions