[Midnightbsd-cvs] src [7785] trunk/contrib: add DW_TAG_rvalue_reference_type and handle it in read
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 5 12:31:03 EDT 2016
Revision: 7785
http://svnweb.midnightbsd.org/src/?rev=7785
Author: laffer1
Date: 2016-09-05 12:30:02 -0400 (Mon, 05 Sep 2016)
Log Message:
-----------
add DW_TAG_rvalue_reference_type and handle it in read
Obtained from: Apple
Modified Paths:
--------------
trunk/contrib/binutils/include/elf/dwarf2.h
trunk/contrib/gdb/gdb/dwarf2read.c
Modified: trunk/contrib/binutils/include/elf/dwarf2.h
===================================================================
--- trunk/contrib/binutils/include/elf/dwarf2.h 2016-09-05 16:27:59 UTC (rev 7784)
+++ trunk/contrib/binutils/include/elf/dwarf2.h 2016-09-05 16:30:02 UTC (rev 7785)
@@ -189,6 +189,7 @@
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 . */
Modified: trunk/contrib/gdb/gdb/dwarf2read.c
===================================================================
--- trunk/contrib/gdb/gdb/dwarf2read.c 2016-09-05 16:27:59 UTC (rev 7784)
+++ trunk/contrib/gdb/gdb/dwarf2read.c 2016-09-05 16:30:02 UTC (rev 7785)
@@ -1977,6 +1977,7 @@
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:
@@ -6094,6 +6095,7 @@
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:
@@ -6422,6 +6424,8 @@
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:
More information about the Midnightbsd-cvs
mailing list