jankratochvil updated this revision to Diff 124290.
jankratochvil added a comment.
refactor: Unify+simplify DWARFCompileUnit ctor+Clear() into in-class
initializers + Extract()
It has no functionality effect but I find it much more simplified for further
refactorizations and extensions in my pat
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) |
| Off
jankratochvil created this revision.
Herald added subscribers: JDevlieghere, arichardson, emaste.
All DWZ patches are also applied in: git clone -b dwz
git://git.jankratochvil.net/lldb
https://reviews.llvm.org/D40468
Files:
include/lldb/lldb-enumerations.h
source/Core/Section.cpp
source/
jankratochvil created this revision.
Herald added a subscriber: JDevlieghere.
Code commonly checks if the parent DIE is DW_TAG_compile_unit. But
DW_TAG_partial_unit also acts as DW_TAG_compile_unit for DWZ as DWZ is using
DW_TAG_imported_unit only at the top unit level.
All DWZ patches are also
jankratochvil created this revision.
Herald added subscribers: JDevlieghere, aprantl.
Multiple DW_TAG_compile_unit being indexed in a multithreaded way can request
reading of the same DW_TAG_partial_unit.
Unfortunately one cannot detect DWZ file ahead of time to disable such locking
overhead as
jankratochvil created this revision.
Herald added a subscriber: JDevlieghere.
It does not make sense to extract whole DW_TAG_partial_unit only to find out it
is a partial unit and so it cannot be indexed on its own.
All DWZ patches are also applied in: git clone -b dwz
git://git.jankratochvil.n
jankratochvil created this revision.
Herald added subscribers: JDevlieghere, aprantl.
DW_TAG_partial_unit is remapped on each of its use, those remapped virtual
units are added into DWARFDebugInfo::m_compile_units during multithreaded
indexing.
All DWZ patches are also applied in: git clone -b
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 .
jankratochvil created this revision.
Herald added subscribers: JDevlieghere, mgorny.
This is the kitchen sink. It also covers separate DWZ common files.
All DWZ patches are also applied in: git clone -b dwz
git://git.jankratochvil.net/lldb
https://reviews.llvm.org/D40474
Files:
include/lld
jankratochvil created this revision.
Herald added subscribers: eraman, aprantl.
Many ERRORs are correct because for many *_dwz testcases DWZ cannot be applied.
Otherwise their tests would be duplicating their *_dwarf counterparts.
Using for regression comparison of *_dwz against *_dwarf:
rm -
10 matches
Mail list logo