From 209f149fdcdb5ecad8d5660429128b771d9b44cd Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 15 Aug 2014 13:08:24 +0200 Subject: libdw: Add new function dwarf_cu_getdwarf. In both systemtap and libabigail there is a need to get the actual Dwarf underlying an Dwarf_Die or Dwarf_Attribute. Following a DIE reference might end up in an alternate Dwarf since the addition of DWZ multifile forms. Both Dwarf_Die and Dwarf_Attribute already contain a Dwarf_CU handle. Add a function dwarf_cu_getdwarf to retrieve the underlying Dwarf using the Dwarf_CU. Signed-off-by: Mark Wielaard --- libdw/libdw.map | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libdw/libdw.map') diff --git a/libdw/libdw.map b/libdw/libdw.map index 899e13e1..27e2273e 100644 --- a/libdw/libdw.map +++ b/libdw/libdw.map @@ -301,3 +301,8 @@ ELFUTILS_0.159 { dwelf_elf_gnu_debuglink; dwelf_elf_gnu_build_id; } ELFUTILS_0.158; + +ELFUTILS_0.160 { + global: + dwarf_cu_getdwarf; +} ELFUTILS_0.159; \ No newline at end of file -- cgit v1.2.1