On Mon, Nov 13, 2017 at 3:11 PM, Jan Hubicka wrote:
>> > 2017-11-10 Eric Botcazou
>> >
>> > PR lto/81351
>> > * debug.h (dwarf2out_do_eh_frame): Declare.
>> > * dwarf2cfi.c (dwarf2out_do_eh_frame): New predicate.
>> > (dwarf2out_do_frame): Use it.
>> > (dwarf2out_do_cfi_asm)
> > 2017-11-10 Eric Botcazou
> >
> > PR lto/81351
> > * debug.h (dwarf2out_do_eh_frame): Declare.
> > * dwarf2cfi.c (dwarf2out_do_eh_frame): New predicate.
> > (dwarf2out_do_frame): Use it.
> > (dwarf2out_do_cfi_asm): Likewise.
> > * dwarf2out.c (dwarf2out_frame_finish):
> 2017-11-10 Eric Botcazou
>
> PR lto/81351
> * debug.h (dwarf2out_do_eh_frame): Declare.
> * dwarf2cfi.c (dwarf2out_do_eh_frame): New predicate.
> (dwarf2out_do_frame): Use it.
> (dwarf2out_do_cfi_asm): Likewise.
> * dwarf2out.c (dwarf2out_frame_finish): Lik
Hi,
this is the EH breakage introduced in LTO mode on non-(x86 or Linux):
https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00771.html
As Jan explained, in the end it's only a matter of recording whether at least
one function needs a FDE for EH in the compilation unit and, if so, generating
the E