This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [google/main] Fix erroneous output of pubnames when no .debug_section is emitted. (issue5528054)
- From: Cary Coutant <ccoutant at google dot com>
- To: Sterling Augustine <saugustine at google dot com>
- Cc: reply at codereview dot appspotmail dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 9 Jan 2012 15:09:44 -0800
- Subject: Re: [google/main] Fix erroneous output of pubnames when no .debug_section is emitted. (issue5528054)
- References: <20120109221849.8A179160CF0@sterling.mtv.corp.google.com>
> Certain source files will not produce a .debug_info section. This patch to
> google/main adds a check for that case to output_pubnames, preventing a link
> failure.
>
> Tested:
> ? ? ? ?By rebuild and bootstrap.
>
> ChangeLog:
>
> 2012-01-09 ? Sterling Augustine ?<saugustine@google.com>
>
> ? ? ? ?* gcc/dwarf2out.c (output_pubnames): Add check for info_section_emitted.
LGTM.
-cary