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.net/lldb
DWZ 08/12: DWARFCompileUnit::ExtractDIEsIfNeeded can now expand AllDiesButCuDieOnlyForPartialUnits
jankratochvil on Nov 26 2017, 5:13 AM.Authored by
See inline comments.