re PR debug/83941 (Debug info generated with -flto contains useless forwarders)
authorRichard Biener <rguenther@suse.de>
Tue, 25 Sep 2018 14:51:39 +0000 (14:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Sep 2018 14:51:39 +0000 (14:51 +0000)
commit4fb792e189c183aa499e834d9cdc4b3ee3bd064a
tree843caed21202ecfd5a8d636551059034a18b5bfb
parentf5ec13f15ddaa6dc61b81d5c14cd8b30df896b40
re PR debug/83941 (Debug info generated with -flto contains useless forwarders)

2018-09-25  Richard Biener  <rguenther@suse.de>

PR debug/83941
* dwarf2out.c (add_AT_external_die_ref): Remove now redundant
GC-ification.
(maybe_create_die_with_external_ref): Do not create
DW_TAG_imported_unit here.
(add_abstract_origin_attribute): Handle external BLOCK refs.
(dwarf2out_abstract_function): Simplify LTO case.
(dwarf2out_early_finish): Create DW_TAG_imported_unit explicitely
rather than using maybe_create_die_with_external_ref.

From-SVN: r264573
gcc/ChangeLog
gcc/dwarf2out.c