mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Fix a bug where we will crash if we have a class "B" that is contained inside a class "A" in the DWARF where "A" is a forward declaration.
<rdar://problem/14673945> <rdar://problem/15682781> llvm-svn: 200985
This commit is contained in:
@@ -6263,6 +6263,11 @@ SymbolFileDWARF::ParseType (const SymbolContext& sc, DWARFCompileUnit* dwarf_cu,
|
||||
case DW_TAG_subprogram:
|
||||
case DW_TAG_member:
|
||||
case DW_TAG_APPLE_property:
|
||||
case DW_TAG_class_type:
|
||||
case DW_TAG_structure_type:
|
||||
case DW_TAG_enumeration_type:
|
||||
case DW_TAG_typedef:
|
||||
case DW_TAG_union_type:
|
||||
child_die = NULL;
|
||||
is_forward_declaration = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user