Re: [PATCH] Fix PR85339, bogus early debug

2018-04-11 Thread Jakub Jelinek
On Wed, Apr 11, 2018 at 01:09:39PM +0200, Richard Biener wrote: > 2018-04-11 Richard Biener > > PR lto/85339 > * dwarf2out.c (dwarf2out_finish): Remove DW_AT_stmt_list attribute > from early DWARF output. > (dwarf2out_early_finish): Output line info unconditionally into

Re: [PATCH] Fix PR85339, bogus early debug

2018-04-11 Thread Jason Merrill
OK. On Wed, Apr 11, 2018 at 7:09 AM, Richard Biener wrote: > > The following fixes the missing .debug_line in the early LTO debug > DWARF which makes all DW_AT_decl_file invalid. > > LTO bootstrapped on x86_64-unknown-linux-gnu, LTO bootstrap with -g3 > still running, so is regtesting. > > I veri

[PATCH] Fix PR85339, bogus early debug

2018-04-11 Thread Richard Biener
The following fixes the missing .debug_line in the early LTO debug DWARF which makes all DW_AT_decl_file invalid. LTO bootstrapped on x86_64-unknown-linux-gnu, LTO bootstrap with -g3 still running, so is regtesting. I verified it works with thin and fat LTO and that the early DWARF has a proper