Re: [PATCH] PR debug/90981 Empty .debug_addr crashes -gdwarf-5 -gsplit-dwarf

2019-07-02 Thread Jeff Law
On 6/26/19 2:06 PM, Mark Wielaard wrote: > Even if there was no, or an empty address list we would try to generate > and index for the .debug_addr section with -gdwarf-5 and -gsplit-dwarf. > The skeleton DIE would also get a (dangling) DW_AT_addr_base in that case. > > PR debug/90981 >

[PATCH] PR debug/90981 Empty .debug_addr crashes -gdwarf-5 -gsplit-dwarf

2019-06-26 Thread Mark Wielaard
Even if there was no, or an empty address list we would try to generate and index for the .debug_addr section with -gdwarf-5 and -gsplit-dwarf. The skeleton DIE would also get a (dangling) DW_AT_addr_base in that case. PR debug/90981 * dwarf2out.c (add_top_level_skeleton_die_attrs)