debug/94450 - remove DW_TAG_imported_unit generated in LTRANS units
authorRichard Biener <rguenther@suse.de>
Thu, 2 Apr 2020 14:45:28 +0000 (16:45 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 2 Apr 2020 14:48:31 +0000 (16:48 +0200)
commit54af95767e887d63dc332731738e642536d87a48
tree037cffb0aaf6160c520072e32b8e91f7025a183c
parent879bc686a0aac4277532fc2aa18704c125fb0c45
debug/94450 - remove DW_TAG_imported_unit generated in LTRANS units

This removes the DW_TAG_imported_unit we generate for each referenced
early debug unit in LTRANS units.  They are more harmful than they
do good and the semantics can be read in a way making it even wrong.

2020-04-02  Richard Biener  <rguenther@suse.de>

PR debug/94450
* dwarf2out.c (dwarf2out_early_finish): Remove code emitting
DW_TAG_imported_unit.
gcc/ChangeLog
gcc/dwarf2out.c