From: Mike Aizatsky Date: Thu, 24 Mar 2016 21:49:55 +0000 (+0000) Subject: [sancov] renaming statistics fields. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b510a4c01d9a237859629ed95fdfbd9007dc361;p=platform%2Fupstream%2Fllvm.git [sancov] renaming statistics fields. llvm-svn: 264349 --- diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test index e91100b..2e1324d 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 3871c17..0baaae1 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; }