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]

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


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/10191963.

Sterling

2013-10-09  Sterling Augustine  <saugustine@google.com>

        * dwarf2out.c (include_pubname_in_output): Add conditional on
is_declaration_die
        and debug_generate_pubnames.

Attachment: patch.diff
Description: Binary data


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