re PR debug/88878 (.debug_pubnames/types empty with -flto)
authorRichard Biener <rguenther@suse.de>
Wed, 27 Feb 2019 12:51:43 +0000 (12:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 27 Feb 2019 12:51:43 +0000 (12:51 +0000)
commit491d6017a8eeaa37a811a81c6a9e6bf91337d264
tree2dd5cc2b22fceb68be4b750d3d7f40046ae86588
parent06140066829cb1fc59222a457d2cdc89deb7d46b
re PR debug/88878 (.debug_pubnames/types empty with -flto)

2019-02-27  Richard Biener  <rguenther@suse.de>

PR debug/88878
* dwarf2out.c (output_comdat_type_unit): Add early_lto_debug
parameter, prefix section name with .gnu.debuglto_ if true.
(dwarf2out_finish): Pass false to output_comdat_type_unit.
(dwarf2out_early_finish): Pass true to output_comdat_type_unit.

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