[libbacktrace] Factor out read_referenced_name_from_attr
authorTom de Vries <tdevries@suse.de>
Wed, 16 Jan 2019 20:47:02 +0000 (20:47 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 16 Jan 2019 20:47:02 +0000 (20:47 +0000)
commit07e1534f44b26a1acb0b3393aae7d1a4a90fa942
tree3e356bb8164268e1ca12f5d0ce9f6c8d5daeaef7
parente42589bd629d1c4b38aee2c8fcb924c37c6889b7
[libbacktrace] Factor out read_referenced_name_from_attr

Factor out the common handling of DW_AT_abstract_origin and
DW_AT_specification from read_function_entry and read_referenced_name.

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

* dwarf.c (read_referenced_name_from_attr): New function.  Factor out
of ...
  (read_referenced_name): ... here, and ...
(read_function_entry): ... here.

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