coverage.c (get_coverage_counts): Use from_function_decl for precise function location.
authorIndu Bhagat <indu.bhagat@oracle.com>
Fri, 30 Nov 2018 23:54:30 +0000 (23:54 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 30 Nov 2018 23:54:30 +0000 (16:54 -0700)
commit732779d073130387365b25f83f1c5266382e3db7
treebcacefdd7dad2b72eb700dc648e60fa0ca518648
parent4df6a9063433b4f47a2f49535b448408a9dd6b94
coverage.c (get_coverage_counts): Use from_function_decl for precise function location.

* coverage.c (get_coverage_counts): Use from_function_decl for precise
function location.
* profile-count.c (profile_count::dump): Add handling for precise
profile quality.
* profile.c (compute_branch_probabilities): Rely on exec_counts instead
of profile_info to set profile_status of function.
(branch_prob): Do not set profile_status of function based on
profile_info. Done above based on exec_counts.

From-SVN: r266702
gcc/ChangeLog
gcc/coverage.c
gcc/profile-count.c
gcc/profile.c