]> git.ipfire.org Git - thirdparty/gcc.git/commit
[libbacktrace] Handle alt FORMS without .gnu_debugaltlink
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jan 2019 00:07:53 +0000 (00:07 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Jan 2019 00:07:53 +0000 (00:07 +0000)
commit151e535016dd554ad2817d887acd77e9366eab19
treeb6cdf66bd75583e54f061be2cd2f157e7989ddf5
parent7ad450d17aa6a029147942f718432e15b9dd0419
[libbacktrace] Handle alt FORMS without .gnu_debugaltlink

Handle DW_FORM_GNU_strp_alt and DW_FORM_GNU_ref_alt references robustly in
presence of missing .gnu_debugaltlink file.

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

* dwarf.c (enum attr_val_encoding): Add ATTR_VAL_NONE.
(read_attribute): Add altlink parameter.  Handle missing altlink for
DW_FORM_GNU_strp_alt and DW_FORM_GNU_ref_alt.
(find_address_ranges, build_address_map, build_dwarf_data): Add and
handle altlink parameter.
(read_referenced_name, read_function_entry): Add argument to
read_attribute call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267995 138bc75d-0d04-0410-961f-82ee72b054a4
libbacktrace/ChangeLog
libbacktrace/dwarf.c