diff options
author | Alexander Yermolovich <ayermolo@meta.com> | 2023-05-03 20:49:03 -0700 |
---|---|---|
committer | Alexander Yermolovich <ayermolo@meta.com> | 2023-05-03 20:50:37 -0700 |
commit | 93ce0965029b77e0de84dbe47525d6ac883d2ae2 (patch) | |
tree | 8d6e020d706b3691097935c5562acef8a631c176 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 00f8bbf07d32670f92fec4dd82281e1ca3027d57 (diff) | |
download | llvm-93ce0965029b77e0de84dbe47525d6ac883d2ae2.zip llvm-93ce0965029b77e0de84dbe47525d6ac883d2ae2.tar.gz llvm-93ce0965029b77e0de84dbe47525d6ac883d2ae2.tar.bz2 |
[BOLT][DWARF] Fix handling of loclists_base without location accesses
There are CUs that have DW_AT_loclists_base, but no DW_AT_location in children
DIEs. Pre-bolt it points to a valid offset. We were not updating it, so it ended
up pointing in the middle of a list and caused LLDB to print out errors. Changed
it to point to first location list. I don't think it should matter since there
are no accesses to it anyway.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D149798
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions