]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Add new function dwarf_cu_die.
authorMark Wielaard <mjw@redhat.com>
Fri, 15 Aug 2014 14:03:21 +0000 (16:03 +0200)
committerMark Wielaard <mjw@redhat.com>
Fri, 15 Aug 2014 18:29:48 +0000 (20:29 +0200)
commitf18f233615cdae0a3633506238348a1dee9d3ea0
tree1dee65146fe9a46b30881ca35c07b7fe738a5e7a
parent209f149fdcdb5ecad8d5660429128b771d9b44cd
libdw: Add new function dwarf_cu_die.

Given a Dwarf_Die or Dwarf_Attribute it is often convenient to get at the
CU DIE and the CU header information. There is dwarf_diecu but that doesn't
provide all information from the header and it doesn't work for attributes.
Add a new dwarf_cu_die function that provides all information given a
Dwarf_CU, which both Dwarf_Die and Dwarf_Attribute reference.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
ChangeLog
NEWS
libdw/ChangeLog
libdw/Makefile.am
libdw/dwarf_cu_die.c [new file with mode: 0644]
libdw/libdw.h
libdw/libdw.map