Index: source/Plugins/SymbolFile/DWARF/DIERef.cpp =================================================================== --- source/Plugins/SymbolFile/DWARF/DIERef.cpp +++ source/Plugins/SymbolFile/DWARF/DIERef.cpp @@ -65,7 +65,7 @@ // // SymbolFileDWARFDwo sets the ID to the compile unit offset. //---------------------------------------------------------------------- - if (dwarf) + if (dwarf && die_offset != DW_INVALID_OFFSET) return dwarf->GetID() | die_offset; else return LLDB_INVALID_UID;