This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r196175 - in /branches/google/main: gcc/common....
- From: tejohnson at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 20 Feb 2013 15:29:43 -0000
- Subject: r196175 - in /branches/google/main: gcc/common....
Author: tejohnson
Date: Wed Feb 20 15:29:42 2013
New Revision: 196175
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196175
Log:
This patch emits the primary module MODULE INFO into the gcda file
for non-LIPO FDO runs. It also ads an option -femit-function-names
to emit to stderr the mapping from module name/function id to function
assembler name. It also emits the module id with the MODULE INFO in
gcov-dump.
2013-02-20 Teresa Johnson <tejohnson@google.com>
* libgcc/libgcov.c (gcov_dump_module_info): Enable writing
primary module info for non-LIPO FDO runs.
(gcov_exit): Ditto.
(gcov_exit_init): Change name of dump_module_info to
now more accurate do_lipo.
* libgcc/dyn-ipa.c (gcov_write_module_infos): Enable writing
primary module info for non-LIPO FDO runs.
* gcc/gcov-io.h (gcov_write_module_infos): New parameter.
* gcc/coverage.c (emit_function_name): New function.
* gcc/coverage.h (emit_function_name): Ditto.
* gcc/common.opt (flag_emit_function_names): New flag.
* gcc/tree-profile.c (tree_profiling): Optionally call
new function emit_function_name.
* gcc/gcov-dump.c (tag_module_info): Emit module id.
Modified:
branches/google/main/gcc/common.opt
branches/google/main/gcc/coverage.c
branches/google/main/gcc/coverage.h
branches/google/main/gcc/gcov-dump.c
branches/google/main/gcc/gcov-io.h
branches/google/main/gcc/tree-profile.c
branches/google/main/libgcc/dyn-ipa.c
branches/google/main/libgcc/libgcov.c