Re: [Google 4.8 Patch] Generate gnu-pubnames for definitions only. Not declarations.

2013-10-10 Thread Sterling Augustine
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.

Re: [Google 4.8 Patch] Generate gnu-pubnames for definitions only. Not declarations.

2013-10-09 Thread Cary Coutant
> 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

[Google 4.8 Patch] Generate gnu-pubnames for definitions only. Not declarations.

2013-10-09 Thread Sterling Augustine
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