HomePhabricator

Match also DW_TAG_partial_unit when DW_TAG_compile_unit is matched

Description

Match also DW_TAG_partial_unit when DW_TAG_compile_unit is matched

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.

Differential revision: https://reviews.llvm.org/D40469

Details

Committed
jankratochvilApr 30 2018, 9:04 AM
Differential Revision
D40469: DWZ 02/07: Match also DW_TAG_partial_unit when DW_TAG_compile_unit is matched
Branches
Unknown
Tags
Unknown