llvm-cov: Print coverage summary to STDOUT.
authorYuchen Wu <yuchenericwu@hotmail.com>
Wed, 18 Dec 2013 21:12:51 +0000 (21:12 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Wed, 18 Dec 2013 21:12:51 +0000 (21:12 +0000)
commit8cb0f6e78e491e9bb8c3612a6e1062243beaad4f
treef02504492fb2608f38c4f5b05eff46fea0a62848
parent4fc184584c8271fcd6dea39676b39681bf356f83
llvm-cov: Print coverage summary to STDOUT.

File summaries will now be optionally outputted which will give line,
branching and call coverage info. Unfortunately, clang's current
instrumentation does not give enough information to deduce function
calls, something that gcc is able to do. Thus, no calls are always
outputted to be consistent with gcov output.

Also updated tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197606 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
test/tools/llvm-cov/Inputs/test_-b.output [new file with mode: 0644]
test/tools/llvm-cov/Inputs/test_no_options.output [new file with mode: 0644]
test/tools/llvm-cov/llvm-cov.test