[Lldb-commits] [PATCH] D40473: DWZ 10/12: Adjust existing code for the DWZ support.

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 26 05:17:29 PST 2017


jankratochvil created this revision.
Herald added subscribers: JDevlieghere, aprantl.

New DWARFCompileUnit::GetMainCU() and DWARFDIE::GetMainDWARF() need to locate original symbol file from DWZ common file for example for UID context; symbol file matching the DIE one still needs to be used for .debug_abbrev, .debug_str and .debug_line.

Probably more such cases need to be caught, they get indicated by an assertion.

All DWZ patches are also applied in: git clone -b dwz git://git.jankratochvil.net/lldb


https://reviews.llvm.org/D40473

Files:
  source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
  source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
  source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDIE.h
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40473.124299.patch
Type: text/x-patch
Size: 10374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171126/5e147ba5/attachment-0001.bin>


More information about the lldb-commits mailing list