[libbacktrace] Handle DW_FORM_GNU_ref_alt
authorTom de Vries <tdevries@suse.de>
Thu, 17 Jan 2019 13:42:20 +0000 (13:42 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 17 Jan 2019 13:42:20 +0000 (13:42 +0000)
commit1c2a9a37c681aa24ece35b671931870b1afe5797
tree4b2be38998bc9b1b8ba93ff07ea35b71da40244b
parent9d576782a29581c04c60d7b9415bb7d3014b0c8c
[libbacktrace] Handle DW_FORM_GNU_ref_alt

Handle DW_FORM_GNU_ref_alt which references the .debug_info section in the
.gnu_debugaltlink file.

2019-01-17  Tom de Vries  <tdevries@suse.de>

PR libbacktrace/82857
* dwarf.c (enum attr_val_encoding): Add ATTR_VAL_REF_ALT_INFO.
(read_attribute): Handle DW_FORM_GNU_ref_alt using
ATTR_VAL_REF_ALT_INFO.
(read_referenced_name_from_attr): Handle DW_FORM_GNU_ref_alt.

From-SVN: r268031
libbacktrace/ChangeLog
libbacktrace/dwarf.c