+2015-02-09 Mark Wielaard <mjw@redhat.com>
+
+ * dwarf.h: Add DW_TAG_atomic_type.
+ * libdw.h (dwarf_peel_type): Document DW_TAG_atomic_type.
+ * dwarf_peel_type.c (dwarf_peel_type): Handle DW_TAG_atomic_type.
+
2015-02-11 Josh Stone <jistone@redhat.com>
* encoded-value.h (read_encoded_value): Initialize value.
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,
while (tag == DW_TAG_typedef
|| tag == DW_TAG_const_type
|| tag == DW_TAG_volatile_type
- || tag == DW_TAG_restrict_type)
+ || tag == DW_TAG_restrict_type
+ || tag == DW_TAG_atomic_type)
{
Dwarf_Attribute attr_mem;
Dwarf_Attribute *attr = INTUSE (dwarf_attr_integrate) (die, DW_AT_type,
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