On Wed, Oct 9, 2013 at 2:51 PM, Cary Coutant wrote:
>> 2013-10-09 Sterling Augustine
>>
>> * dwarf2out.c (include_pubname_in_output): Add conditional on
>> is_declaration_die
>> and debug_generate_pubnames.
>
> OK for google 4.8 branch. Thanks!
>
> -cary
Committed as r/203396.
> 2013-10-09 Sterling Augustine
>
> * dwarf2out.c (include_pubname_in_output): Add conditional on
> is_declaration_die
> and debug_generate_pubnames.
OK for google 4.8 branch. Thanks!
-cary
Hi Cary,
The enclosed patch stops declaration dies from generating
gnu-pubnames. Declaration dies don't include enough information to be
useful to gdb, so it has to scan all the entries in the index until it
finds a definition. Not including declarations prevents this problem.
Google ref: b/10191