This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[google/gcc-4_8] Add support for .debug_gnu_pubnames/pubtypes section.
- From: Cary Coutant <ccoutant at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 12 Jun 2013 16:55:57 -0700
- Subject: [google/gcc-4_8] Add support for .debug_gnu_pubnames/pubtypes section.
This patch is ported from the google/gcc-4_7 branch.
Tested with crosstool_validate.py and committed.
-cary
include:
2012-08-20 Sterling Augustine <saugustine@google.com>
* gdb/gdb-index.h: Check in from src.
gcc:
2012-08-20 Sterling Augustine <saugustine@google.com>
* dwarf2out.c (DEBUG_PUBNAMES_SECTION, DEBUG_PUBTYPES_SECTION): Adjust
macros.
(is_java, include_pubname_in_output): New functions.
(size_of_pubnames): Call include_pubname_in_output. New variable
space_for_flags.
(output_pubnames): Refactor, moving most of the logic to...
(output_pubname): ... here. New function.
(dwarf2out_finish): Move output pubtable logic to...
(output_pubtables): ... here. New function.
* common.opt (ggnu-pubnames): New option.
(gpubnames, gno-pubnames): Adjust.
* opts.c (finish_options): Require -ggnu-pubnames when -gsplit-dwarf
is set.
* doc/invoke.texi: Document -ggnu-pubnames.