r196533 - in /branches/google/gcc-4_7: gcc/comm...

xur@gcc.gnu.org xur@gcc.gnu.org
Fri Mar 8 05:34:00 GMT 2013


Author: xur
Date: Fri Mar  8 05:34:33 2013
New Revision: 196533

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196533
Log:
Temporarily revert r196342 and r196176 as r196342 has some issues
with lipo profile merge.
Tested with gcc regression and SPEC2000int.

r196342 was:
   2013-02-28  Teresa Johnson  <tejohnson@google.com>
	* gcc/coverage.c (build_info_type): Remove eof_pos from gcov_info.
	(build_info): Ditto.
	* gcc/gcov-io.c (gcov_seek_from_end): New function.
	* gcc/gcov-io.h (struct gcov_info): Remove eof_pos.
	* libgcc/libgcov.c (gcov_dump_module_info): Seek to end of
        file instead of relying on saved eof_pos.
	(gcov_merge_gcda_file): Remove saved eof_pos.
	(gcov_write_gcda_file): Ditto.

r196176 was:
   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/gcc-4_7/gcc/common.opt
    branches/google/gcc-4_7/gcc/coverage.c
    branches/google/gcc-4_7/gcc/coverage.h
    branches/google/gcc-4_7/gcc/gcov-dump.c
    branches/google/gcc-4_7/gcc/gcov-io.c
    branches/google/gcc-4_7/gcc/gcov-io.h
    branches/google/gcc-4_7/gcc/tree-profile.c
    branches/google/gcc-4_7/libgcc/dyn-ipa.c
    branches/google/gcc-4_7/libgcc/libgcov.c



More information about the Gcc-cvs mailing list