llvm-cov: Removed output to STDOUT/specified file.
authorYuchen Wu <yuchenericwu@hotmail.com>
Tue, 3 Dec 2013 00:57:11 +0000 (00:57 +0000)
committerYuchen Wu <yuchenericwu@hotmail.com>
Tue, 3 Dec 2013 00:57:11 +0000 (00:57 +0000)
commit6cd7a3fa797dc9b337c60cced2321da2d65884fb
tree25fe5e83cd8c46ef4b2a473fac1617af4c0d4a69
parenteae8ef479d2c6c81b2ff19d2f721e7273642bc40
llvm-cov: Removed output to STDOUT/specified file.

Instead of asking the user to specify a single file to output coverage
info and defaulting to STDOUT, llvm-cov now creates files for each
source file with a naming system of: <source filename> + ".llcov".

This is what gcov does and although it can clutter the working directory
with numerous coverage files, it will be easier to hook the llvm-cov
output to tools which operate on this assumption (such as lcov).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196184 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GCOV.h
lib/IR/GCOV.cpp
test/tools/llvm-cov/llvm-cov.test
tools/llvm-cov/llvm-cov.cpp