diff options
| author | Mark Wielaard <[email protected]> | 2014-11-24 22:17:51 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-11-26 18:00:52 +0100 |
| commit | 9f8c08e68243561a54a09e38fd472b4fc2c17d5d (patch) | |
| tree | e2e220df42cedb22850dc4f699a8e7766fe678b6 /libdw/dwarf.h | |
| parent | 03c033f8718dccb68c2a02dc0725aba24023e751 (diff) | |
dwarf.h: Add DW_LANG_C11, DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
The following patch is needed to recognize the new DW_LANG constants
that GCC 5 might emit as implemented by this GCC patch:
https://gcc.gnu.org/ml/gcc-patches/2014-11/msg02852.html
Also added to https://fedorahosted.org/elfutils/wiki/DwarfExtensions
GCC 5 can emit these new DWARFv5 draft language constants. Handle them in
dwarf_aggregate_size and dwarf_getfuncs. Also handle DW_LANG_Go in
dwarf_aggregate_size (lower bound for array is zero for Go).
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
| -rw-r--r-- | libdw/dwarf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h index d47260e4..da8cf3a6 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -586,6 +586,10 @@ enum DW_LANG_D = 0x0013, /* D */ DW_LANG_Python = 0x0014, /* Python */ DW_LANG_Go = 0x0016, /* Go */ + DW_LANG_C_plus_plus_11 = 0x001a, /* ISO C++:2011 */ + DW_LANG_C11 = 0x001d, /* ISO C:2011 */ + DW_LANG_C_plus_plus_14 = 0x0021, /* ISO C++:2014 */ + DW_LANG_lo_user = 0x8000, DW_LANG_Mips_Assembler = 0x8001, /* Assembler */ |
