summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-08-25 15:11:01 +0200
committerMark Wielaard <[email protected]>2015-08-25 15:13:04 +0200
commita74bdbddd5cd03f6bb633455d8c3b5f6baaf92b5 (patch)
treeb6495ac93f960310232f0524a44b4e66838ea74b
parent0292aefb4c813d41fb1b2dd2d3a3c857a5c6349d (diff)
libdw: Add DW_LANG_Haskell.
See http://www.dwarfstd.org/ShowIssue.php?issue=120218.1 GHC emits this language code (0x18). Also updated https://fedorahosted.org/elfutils/wiki/DwarfExtensions Signed-off-by: Mark Wielaard <[email protected]>
-rw-r--r--libdw/ChangeLog4
-rw-r--r--libdw/dwarf.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index 753bcae7..315ad70b 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-25 Mark Wielaard <[email protected]>
+
+ * dwarf.h: Add DW_LANG_Haskell.
+
2015-06-18 Mark Wielaard <[email protected]>
* dwarf_begin_elf.c (dwarf_begin_elf): Assert page size is big enough
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index 5b88c8f4..b5c58d7f 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -589,6 +589,7 @@ enum
DW_LANG_D = 0x0013, /* D */
DW_LANG_Python = 0x0014, /* Python */
DW_LANG_Go = 0x0016, /* Go */
+ DW_LANG_Haskell = 0x0018, /* Haskell */
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 */