aboutsummaryrefslogtreecommitdiff
path: root/include/dwarf2.def
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-12-08 22:32:23 +0000
committerMark Wielaard <mark@gcc.gnu.org>2014-12-08 22:32:23 +0000
commitbc3518da23383b0e173020a46334fe22b6b67891 (patch)
tree531ce47029cd14edfcc8e5647401475bb0f0b787 /include/dwarf2.def
parent009a34807ec71e18107582878b61096a584110a2 (diff)
downloadgcc-bc3518da23383b0e173020a46334fe22b6b67891.zip
gcc-bc3518da23383b0e173020a46334fe22b6b67891.tar.gz
gcc-bc3518da23383b0e173020a46334fe22b6b67891.tar.bz2
DWARFv5 Emit DW_TAG_atomic_type for C11 _Atomic.
This implements the DW_TAG_atomic_type for C11 _Atomic proposal as adopted in the latest DWARF5 draft. http://dwarfstd.org/ShowIssue.php?issue=131112.1 gcc/ChangeLog PR debug/60782 * dwarf2out.c (modified_type_die): Handle TYPE_QUAL_ATOMIC. gcc/testsuite/ChangeLog PR debug/60782 * gcc.dg/debug/dwarf2/atomic.c: New test. * gcc.dg/debug/dwarf2/stacked-qualified-types-3.c: Likewise. include/ChangeLog PR debug/60782 * dwarf2.def: Add DWARFv5 DW_TAG_atomic_type. From-SVN: r218496
Diffstat (limited to 'include/dwarf2.def')
-rw-r--r--include/dwarf2.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dwarf2.def b/include/dwarf2.def
index 8533a3e..ea8127c 100644
--- a/include/dwarf2.def
+++ b/include/dwarf2.def
@@ -133,6 +133,8 @@ DW_TAG (DW_TAG_shared_type, 0x40)
DW_TAG (DW_TAG_type_unit, 0x41)
DW_TAG (DW_TAG_rvalue_reference_type, 0x42)
DW_TAG (DW_TAG_template_alias, 0x43)
+/* DWARF 5. */
+DW_TAG (DW_TAG_atomic_type, 0x47)
DW_TAG_DUP (DW_TAG_lo_user, 0x4080)
DW_TAG_DUP (DW_TAG_hi_user, 0xffff)