[sancov] renaming statistics fields.

llvm-svn: 264349
This commit is contained in:
Mike Aizatsky 2016-03-24 21:49:55 +00:00
parent 1cf2aa8257
commit 6b510a4c01
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;
}