This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Google 4.8] Fix up size of pubnames in the presence of pruned enumerators


On Mon, Jul 15, 2013 at 9:32 AM, Sterling Augustine
<saugustine@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  <saugustine@google.com>

	* dwarf2out.c (output_pubnames): Rework assertion.  Move logic
	checking DW_TAG_enumerator and die_parent ...
	(include_pubname_in_output): ...to here.

Attachment: pubnames.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]