summaryrefslogtreecommitdiff
path: root/libdw/libdwP.h
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2017-11-26 17:51:11 +0100
committerMark Wielaard <mark@klomp.org>2018-02-21 17:19:33 +0100
commit8961f33e2a72a9430455cbb0368c71d22574dc3d (patch)
treec9b7a9a9a5301f66a6b4c058ce7dddaef6488616 /libdw/libdwP.h
parenteb11b0f15c0fd06aa8fcc59feba36b6b091f30f7 (diff)
downloadelfutils-8961f33e2a72a9430455cbb0368c71d22574dc3d.tar.gz
libdw: Handle DWARF5 DW_FORM_implicit_const. Add dwarf_getabbrevattr_data.
Handle the new DW_FORM_implicit_const. The value of this form is embedded in the abbrev data (as sleb128) and not in the info DIE data. This also adds a new function dwarf_getabbrevattr_data which allows getting any data/value associated with a form. eu-readelf will use this new function to show the DW_FORM_implicit_const value. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw/libdwP.h')
-rw-r--r--libdw/libdwP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h
index b31497d9..ad555588 100644
--- a/libdw/libdwP.h
+++ b/libdw/libdwP.h
@@ -901,6 +901,7 @@ INTDECL (dwarf_formref_die)
INTDECL (dwarf_formsdata)
INTDECL (dwarf_formstring)
INTDECL (dwarf_formudata)
+INTDECL (dwarf_getabbrevattr_data)
INTDECL (dwarf_getalt)
INTDECL (dwarf_getarange_addr)
INTDECL (dwarf_getarangeinfo)