diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-08 22:32:23 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-08 22:32:23 +0000 |
commit | 9d231822a5063871e7c28464551716645d6e3ca8 (patch) | |
tree | 531ce47029cd14edfcc8e5647401475bb0f0b787 /include | |
parent | c9ed79deebea3426564b39a12ae9cda296a1979d (diff) | |
download | gcc-9d231822a5063871e7c28464551716645d6e3ca8.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218496 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dwarf2.def | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index e0baca9c10d..632420c7699 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2014-12-08 Mark Wielaard <mjw@redhat.com> + + PR debug/60782 + * dwarf2.def: Add DWARFv5 DW_TAG_atomic_type. + 2014-11-21 Mark Wielaard <mjw@redhat.com> * dwarf2.h: Add DW_LANG_C_plus_plus_11, DW_LANG_C11 and diff --git a/include/dwarf2.def b/include/dwarf2.def index 8533a3edbd5..ea8127c8b1d 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) |