diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-02-09 16:24:04 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-02-16 13:24:34 +0100 |
commit | 7fb8031aed51ee7c5eb5e5e9c0e072a1367ff7cb (patch) | |
tree | d08cd02bdad538da38b6f25bffec7700bcb907d1 /libdw/libdw.h | |
parent | 3d11410c481ead29ac52974d05073057d5ca5264 (diff) | |
download | elfutils-7fb8031aed51ee7c5eb5e5e9c0e072a1367ff7cb.tar.gz |
libdw: Add support for DWARF5/GCC5 DW_TAG_atomic_type.
GCC5 adds support for the new C11 _Atomic DWARF5 DW_TAG_atomic_type
qualifier. Add it to dwarf.h and handle it in dwarf_peel_type.
http://dwarfstd.org/ShowIssue.php?issue=131112.1
Also documented at https://fedorahosted.org/elfutils/wiki/DwarfExtensions
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libdw/libdw.h')
-rw-r--r-- | libdw/libdw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdw/libdw.h b/libdw/libdw.h index b2b22828..473e1a25 100644 --- a/libdw/libdw.h +++ b/libdw/libdw.h @@ -409,7 +409,8 @@ extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result) The current DWARF specification defines one type alias tag (DW_TAG_typedef) and three qualifier type tags (DW_TAG_const_type, - DW_TAG_volatile_type, DW_TAG_restrict_type). A future version of + DW_TAG_volatile_type, DW_TAG_restrict_type). DWARF5 defines one + other qualifier type tag (DW_TAG_atomic_type). A future version of this function might peel other alias or qualifier type tags if a future DWARF version or GNU extension defines other type aliases or qualifier type tags that don't modify or change the structural |