[Lldb-commits] [PATCH] D93444: Make DWARFUnit use the dwo_id from the DWARF5 CU header.
Jorge Gorbe Moya via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 16 21:59:18 PST 2020
jgorbe created this revision.
jgorbe requested review of this revision.
Herald added a project: LLDB.
In split DWARF v5 files, the DWO id is no longer in the DW_AT_GNU_dwo_id
attribute. It's in the CU header instead. This change makes lldb look in
both places.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93444
Files:
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93444.312377.patch
Type: text/x-patch
Size: 13498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201217/85f559c6/attachment-0001.bin>
More information about the lldb-commits
mailing list