llvm-cov: Added -f option for function summaries.
authorYuchen Wu <yuchenericwu@hotmail.com>
Thu, 19 Dec 2013 00:29:25 +0000 (00:29 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Thu, 19 Dec 2013 00:29:25 +0000 (00:29 +0000)
commitd218959ec5e6c7d3b129f9437bc243b9bdab9e27
tree9dfff3655df3098b0e2fd4e55df831a7b2527c06
parentdeb8e33163b237cecb58eacb90168155eee0573f
llvm-cov: Added -f option for function summaries.

Similar to the file summaries, the function summaries output line,
branching and call statistics. The file summaries have been moved
outside the initial loop so that all of the function summaries can be
outputted before file summaries.

Also updated test cases.

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