r241821 - in /trunk: gcc/ChangeLog gcc/profile....
marxin@gcc.gnu.org
marxin@gcc.gnu.org
Thu Nov 3 15:24:00 GMT 2016
Author: marxin
Date: Thu Nov 3 15:24:22 2016
New Revision: 241821
URL: https://gcc.gnu.org/viewcvs?rev=241821&root=gcc&view=rev
Log:
Make direct emission of time profiler counter
* libgcov-profiler.c (__gcov_time_profiler): Remove.
(__gcov_time_profiler_atomic): Likewise.
* profile.c (instrument_values): Fix coding style.
(branch_prob): Use renamed function.
* tree-profile.c (init_ic_make_global_vars): Likewise.
(gimple_init_edge_profiler): Rename to
gimple_init_gcov_profiler.
tree_time_profiler_counter variable declaration.
(gimple_gen_time_profiler): Rewrite to do a direct gimple code
emission.
* value-prof.h: Remove an argument.
* gcc.dg/no_profile_instrument_function-attr-1.c: Update scanned
output.
* gcc.dg/tree-prof/time-profiler-3.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/profile.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/no_profile_instrument_function-attr-1.c
trunk/gcc/tree-profile.c
trunk/gcc/value-prof.h
trunk/libgcc/ChangeLog
trunk/libgcc/libgcov-profiler.c
More information about the Gcc-cvs
mailing list