summaryrefslogtreecommitdiff
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-02-09 16:24:04 +0100
committerMark Wielaard <mjw@redhat.com>2015-02-16 13:24:34 +0100
commit7fb8031aed51ee7c5eb5e5e9c0e072a1367ff7cb (patch)
treed08cd02bdad538da38b6f25bffec7700bcb907d1 /libdw/dwarf.h
parent3d11410c481ead29ac52974d05073057d5ca5264 (diff)
downloadelfutils-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/dwarf.h')
-rw-r--r--libdw/dwarf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index da8cf3a6..a97a2c34 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -94,6 +94,9 @@ enum
DW_TAG_rvalue_reference_type = 0x42,
DW_TAG_template_alias = 0x43,
+ /* DWARF 5. */
+ DW_TAG_atomic_type = 0x47,
+
DW_TAG_lo_user = 0x4080,
DW_TAG_MIPS_loop = 0x4081,