diff options
author | Mark Wielaard <mjw@redhat.com> | 2014-08-15 13:08:24 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2014-08-15 20:29:48 +0200 |
commit | 209f149fdcdb5ecad8d5660429128b771d9b44cd (patch) | |
tree | 39e1e481fe615d00d4e4f9001196424f1d7045f1 /libdw/libdw.map | |
parent | 9d29ed2989b6691457bbd602de740c4423ac8781 (diff) | |
download | elfutils-209f149fdcdb5ecad8d5660429128b771d9b44cd.tar.gz |
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 <mjw@redhat.com>
Diffstat (limited to 'libdw/libdw.map')
-rw-r--r-- | libdw/libdw.map | 5 |
1 files changed, 5 insertions, 0 deletions
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 |