summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_begin.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2012-06-22 12:02:45 +0200
committerMark Wielaard <[email protected]>2012-08-09 16:32:43 +0200
commit775375e3bd177cb19acb5020b6e0917551807276 (patch)
tree26ec5e40f426d5ace9fd636818197cd0025b672a /libdw/dwarf_begin.c
parent836db608432ba50f76c0a63ec7bd05694341a1d4 (diff)
libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.
DWZ multifile forms http://www.dwarfstd.org/ShowIssue.php?issue=120604.1 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt reference an alternative debuginfo file. dwarf_begin and dwarf_begin_elf will try to use this automatically. There are no user visible changes to the libdw interface. dwarf_formref_die, dwarf_formstring and dwarf_formudata can now return a Dwarf_Die which comes from a CU in the alternative Dwarf descriptor. __libdw_read_offset was adjusted to take an alternative Dwarf descriptor into account. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libdw/dwarf_begin.c')
-rw-r--r--libdw/dwarf_begin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdw/dwarf_begin.c b/libdw/dwarf_begin.c
index 1f3fc3b9..9f3050fd 100644
--- a/libdw/dwarf_begin.c
+++ b/libdw/dwarf_begin.c
@@ -98,3 +98,4 @@ dwarf_begin (fd, cmd)
return result;
}
+INTDEF(dwarf_begin)