On Mon, Jul 15, 2013 at 9:32 AM, Sterling Augustine <saugust...@google.com> wrote: > Hi Cary, > > Google 4.8 calculates the size of pubnames incorrectly in the presence > of pruned enumerators. The logic in size_of_pubnames should match that > in output_pubnames.
After some discussion off line, I have reworked this patch as below. This version is cleaner and ensures the logic is just in one place. OK for Google 4.7 and 4.8? Sterling 2013-07-15 Sterling Augustine <saugust...@google.com> * dwarf2out.c (output_pubnames): Rework assertion. Move logic checking DW_TAG_enumerator and die_parent ... (include_pubname_in_output): ...to here.
pubnames.patch
Description: Binary data