On Wed, Apr 11, 2018 at 01:09:39PM +0200, Richard Biener wrote:
> 2018-04-11 Richard Biener <[email protected]>
>
> 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
> early DWARF and add reference to it.
>
> + if (debug_info_level >= DINFO_LEVEL_TERSE)
> + add_AT_lineptr (comp_unit_die (), DW_AT_stmt_list,
> + dl_section_ref);
No reason to wrap the above line, it fits nicely on one line.
Otherwise LGTM.
Jakub