llvm-cov: Added -c option for branch counts.
authorYuchen Wu <yuchenericwu@hotmail.com>
Wed, 18 Dec 2013 18:40:15 +0000 (18:40 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Wed, 18 Dec 2013 18:40:15 +0000 (18:40 +0000)
commitf6358f3eefb380180502a0148941ddf2ae294119
treeff3220d61ddad502ec8fd6195ecaa3edcdcbde6a
parent25acded1b0e35c4996bc70c27ce75f1733da2d6a
llvm-cov: Added -c option for branch counts.

This will cause llvm-cov to output branch counts instead of branch
probabilities. -b must be enabled.

Also updated tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197594 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
test/tools/llvm-cov/Inputs/test_-a_-b_-c_-u.cpp.gcov [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_-a_-b_-c_-u.h.gcov [new file with mode: 0644]
test/tools/llvm-cov/llvm-cov.test
tools/llvm-cov/llvm-cov.cpp