summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/tools/sancov/stats.test8
-rw-r--r--llvm/tools/sancov/sancov.cc8
2 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test
index e91100b941b..2e1324dedcd 100644
--- a/llvm/test/tools/sancov/stats.test
+++ b/llvm/test/tools/sancov/stats.test
@@ -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
diff --git a/llvm/tools/sancov/sancov.cc b/llvm/tools/sancov/sancov.cc
index 3871c17b33a..0baaae16cfe 100644
--- a/llvm/tools/sancov/sancov.cc
+++ b/llvm/tools/sancov/sancov.cc
@@ -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;
}
OpenPOWER on IntegriCloud