[Lldb-commits] [PATCH] D63005: DWARF: Don't create lldb CompileUnits for DWARF type units

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 10 07:19:58 PDT 2019


labath updated this revision to Diff 203816.
labath added a comment.

- account for the fact that D62943 <https://reviews.llvm.org/D62943> was a dud. Instead, set the correct ID of the compile unit so that the DWARF unit can be found via the regular logic.
- add a test for the situation where the dwarf and lldb compile unit indexes do not match


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63005/new/

https://reviews.llvm.org/D63005

Files:
  lit/SymbolFile/DWARF/debug-types-dwarf5.s
  lit/SymbolFile/DWARF/debug-types-line-tables.s
  source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63005.203816.patch
Type: text/x-patch
Size: 39477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190610/68cb2537/attachment-0001.bin>


More information about the lldb-commits mailing list