diff options
author | Mark Wielaard <mjw@redhat.com> | 2014-11-26 17:51:28 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2014-11-26 18:00:43 +0100 |
commit | 03c033f8718dccb68c2a02dc0725aba24023e751 (patch) | |
tree | f7676b55983d6db064f34071a19aa42d313bdc6d /libdw/dwarf.h | |
parent | 86b0b13a0814f7283e04ddf766859a47e6b7bbb2 (diff) | |
download | android_external_elfutils-03c033f8718dccb68c2a02dc0725aba24023e751.tar.gz android_external_elfutils-03c033f8718dccb68c2a02dc0725aba24023e751.tar.bz2 android_external_elfutils-03c033f8718dccb68c2a02dc0725aba24023e751.zip |
dwarf.h: Add DW_AT_noreturn.
DW_AT_noreturn is added by GCC5 for functions that don't return to their
caller. It is set on a DW_TAG_subprogram for the traditional GNU noreturn
attribute, the C11 _Noreturn keyword or C++11 [[noreturn]] attribute. It
is a new DWARF5 extension. This is a constant only addition to dwarf.h.
No other part of elfutils currently depends on this attribute.
Also added to 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h index d03cf5c0..d47260e4 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -221,6 +221,9 @@ enum DW_AT_enum_class = 0x6d, DW_AT_linkage_name = 0x6e, + /* DWARF5 attribute values. */ + DW_AT_noreturn = 0x87, + DW_AT_lo_user = 0x2000, DW_AT_MIPS_fde = 0x2001, |