[Lldb-commits] [PATCH] D40467: DWZ: Separate Offset also into FileOffset

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


jankratochvil created this revision.
Herald added a subscriber: JDevlieghere.

Offset may represent virtual DW_TAG_partial_unit remapping while FileOffset always represents the file data.  Units are ordered:

| Offset 0                                | FileOffset 0 of DWZ file (if exists) |
| Offset {DWZ file size}                  | FileOffset 0 of main file            |
| Offset {DWZ file size + main file size} | First remapped DW_TAG_partial_unit   |

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


https://reviews.llvm.org/D40467

Files:
  include/lldb/Expression/DWARFExpression.h
  source/Expression/DWARFExpression.cpp
  source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
  source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
  source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
  source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
  source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
  source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40467.124292.patch
Type: text/x-patch
Size: 62591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171126/7648cab5/attachment-0001.bin>


More information about the lldb-commits mailing list