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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@331194 91177308-0d34-0410-b5e6-96231b3b80d8
9 files changed