Handle DW_TAG_rvalue_reference_type
2012-05-21 Jim Ingham <jingham@apple.com> * dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type. (read_type_die): Ditto. (dwarf_tag_name): Ditto. * elf/dwarf2.h: Add DW_TAG_rvalue_reference_type. Obtained from: Apple, gdb-1820
This commit is contained in:
parent
42bc6c11c8
commit
d224714001
@ -189,6 +189,7 @@ enum dwarf_tag
|
||||
DW_TAG_imported_unit = 0x3d,
|
||||
DW_TAG_condition = 0x3f,
|
||||
DW_TAG_shared_type = 0x40,
|
||||
DW_TAG_rvalue_reference_type = 0x42,
|
||||
/* SGI/MIPS Extensions. */
|
||||
DW_TAG_MIPS_loop = 0x4081,
|
||||
/* HP extensions. See: ftp://ftp.hp.com/pub/lang/tools/WDB/wdb-4.0.tar.gz . */
|
||||
|
@ -1977,6 +1977,7 @@ process_die (struct die_info *die, struct dwarf2_cu *cu)
|
||||
read_tag_ptr_to_member_type (die, cu);
|
||||
break;
|
||||
case DW_TAG_reference_type:
|
||||
case DW_TAG_rvalue_reference_type:
|
||||
read_tag_reference_type (die, cu);
|
||||
break;
|
||||
case DW_TAG_string_type:
|
||||
@ -6097,6 +6098,7 @@ read_type_die (struct die_info *die, struct dwarf2_cu *cu)
|
||||
read_tag_ptr_to_member_type (die, cu);
|
||||
break;
|
||||
case DW_TAG_reference_type:
|
||||
case DW_TAG_rvalue_reference_type:
|
||||
read_tag_reference_type (die, cu);
|
||||
break;
|
||||
case DW_TAG_const_type:
|
||||
@ -6425,6 +6427,8 @@ dwarf_tag_name (unsigned tag)
|
||||
return "DW_TAG_pointer_type";
|
||||
case DW_TAG_reference_type:
|
||||
return "DW_TAG_reference_type";
|
||||
case DW_TAG_rvalue_reference_type:
|
||||
return "DW_TAG_rvalue_reference_type";
|
||||
case DW_TAG_compile_unit:
|
||||
return "DW_TAG_compile_unit";
|
||||
case DW_TAG_string_type:
|
||||
|
Loading…
x
Reference in New Issue
Block a user