diff options
author | Mike Aizatsky <aizatsky@chromium.org> | 2016-03-24 00:00:08 +0000 |
---|---|---|
committer | Mike Aizatsky <aizatsky@chromium.org> | 2016-03-24 00:00:08 +0000 |
commit | 5c79bb364a3bf3de914a34492cf9fabcc53fa3b5 (patch) | |
tree | 696810382d1babfff24be71092b66d8f61c8ebb3 /llvm/test/tools | |
parent | e7aad357a95be22a91d4d7d4131fb5fcf49f50ca (diff) | |
download | bcm5719-llvm-5c79bb364a3bf3de914a34492cf9fabcc53fa3b5.tar.gz bcm5719-llvm-5c79bb364a3bf3de914a34492cf9fabcc53fa3b5.zip |
[sancov] -print-coverage-stats option to print various coverage statistics.
Differential Revision: http://reviews.llvm.org/D18418
llvm-svn: 264222
Diffstat (limited to 'llvm/test/tools')
-rw-r--r-- | llvm/test/tools/sancov/stats.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/sancov/stats.test b/llvm/test/tools/sancov/stats.test new file mode 100644 index 00000000000..e91100b941b --- /dev/null +++ b/llvm/test/tools/sancov/stats.test @@ -0,0 +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 + + |