* dwarf2read.c (fixup_partial_die): Do not set dummy name for

anonymous class partial DIEs.
This commit is contained in:
Ulrich Weigand 2010-09-09 16:42:39 +00:00
parent 0f72bf6f74
commit 6afafb5482
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-09-09 Ulrich Weigand <uweigand@de.ibm.com>
* dwarf2read.c (fixup_partial_die): Do not set dummy name for
anonymous class partial DIEs.
2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
* dwarf2read.c (dwarf2_compute_name): Check that the first

View File

@ -9009,9 +9009,6 @@ fixup_partial_die (struct partial_die_info *part_die,
}
/* Set default names for some unnamed DIEs. */
if (part_die->name == NULL && (part_die->tag == DW_TAG_structure_type
|| part_die->tag == DW_TAG_class_type))
part_die->name = "(anonymous class)";
if (part_die->name == NULL && part_die->tag == DW_TAG_namespace)
part_die->name = "(anonymous namespace)";