This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r267495 - in /trunk/gcc: ChangeLog coverage.c p...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 01 Jan 2019 12:49:18 -0000
- Subject: r267495 - in /trunk/gcc: ChangeLog coverage.c p...
Author: hubicka
Date: Tue Jan 1 12:49:18 2019
New Revision: 267495
URL: https://gcc.gnu.org/viewcvs?rev=267495&root=gcc&view=rev
Log:
* coverage.c (get_coverage_counts): Use current_function_decl.
* profile.c (read_thunk_profile): New function.
(branch_prob): Add THUNK parameter.
* tree-profile.c (tree_profiling): Handle thunks.
* value-prof.c (init_node_map): Handle thunks.
* value-prof.h (branch_prob): Upate prototype.
(read_thunk_profile): Declare.
* g++.dg/tree-prof/devirt.C: Update testcase.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/coverage.c
trunk/gcc/profile.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/tree-prof/devirt.C
trunk/gcc/tree-profile.c
trunk/gcc/value-prof.c
trunk/gcc/value-prof.h