llvm-cov: Use the number of executed functions for the function coverage metric.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 30 Sep 2014 12:45:13 +0000 (12:45 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 30 Sep 2014 12:45:13 +0000 (12:45 +0000)
commit38c59de6b11e00fdb3b02e0fd2c7e4f724ae1940
treef2e33baa17f6a5282864863bf13e9509190f380b
parentf49592dddca90754b17e121f0166092ba3659f63
llvm-cov: Use the number of executed functions for the function coverage metric.

This commit fixes llvm-cov's function coverage metric by using the number of executed functions instead of the number of fully covered functions.

Differential Revision: http://reviews.llvm.org/D5196

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218672 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/CoverageMapping.h
lib/ProfileData/CoverageMapping.cpp
test/tools/llvm-cov/Inputs/report.covmapping [new file with mode: 0644]
test/tools/llvm-cov/Inputs/report.profdata [new file with mode: 0644]
test/tools/llvm-cov/report.cpp [new file with mode: 0644]
tools/llvm-cov/CoverageReport.cpp
tools/llvm-cov/CoverageSummary.cpp
tools/llvm-cov/CoverageSummaryInfo.cpp
tools/llvm-cov/CoverageSummaryInfo.h