[sancov] renaming statistics fields.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mike Aizatsky 2016-03-24 21:49:55 +00:00
parent afb111acf7
commit b5f62ceff2
2 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
REQUIRES: x86_64-linux
RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
CHECK: all-points: 16
CHECK: cov-points: 7
CHECK: all-fns: 3
CHECK: cov-fns: 2
CHECK: all-edges: 16
CHECK: cov-edges: 7
CHECK: all-functions: 3
CHECK: cov-functions: 2

View File

@ -543,10 +543,10 @@ struct CoverageStats {
};
static raw_ostream &operator<<(raw_ostream &OS, const CoverageStats &Stats) {
OS << "all-points: " << Stats.AllPoints << "\n";
OS << "cov-points: " << Stats.CovPoints << "\n";
OS << "all-fns: " << Stats.AllFns << "\n";
OS << "cov-fns: " << Stats.CovFns << "\n";
OS << "all-edges: " << Stats.AllPoints << "\n";
OS << "cov-edges: " << Stats.CovPoints << "\n";
OS << "all-functions: " << Stats.AllFns << "\n";
OS << "cov-functions: " << Stats.CovFns << "\n";
return OS;
}