On Mon, Oct 01, 2012 at 02:05:50PM +0200, Richard Guenther wrote:
> 2012-10-01 Richard Guenther
>
> PR lto/47788
> * tree-streamer-out.c (write_ts_block_tree_pointers): For
> inlined functions outer scopes write the ultimate origin
> as BLOCK_ABSTRACT_ORIGIN and BLOCK_SO
This tries to emit proper debug information for early-inlined
functions from LTO LTRANS phase (thus, emit DW_TAG_inlined_subroutine
and allow gdb to set breakpoints). We need to avoid confusing
LTO and dwarf2out with the full abstract block tree, so this
patch "flattens" the abstract block tree b