diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-12-03 00:57:11 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-12-03 00:57:11 +0000 |
commit | 6cd7a3fa797dc9b337c60cced2321da2d65884fb (patch) | |
tree | 25fe5e83cd8c46ef4b2a473fac1617af4c0d4a69 /include | |
parent | eae8ef479d2c6c81b2ff19d2f721e7273642bc40 (diff) | |
download | llvm-6cd7a3fa797dc9b337c60cced2321da2d65884fb.tar.gz llvm-6cd7a3fa797dc9b337c60cced2321da2d65884fb.tar.bz2 llvm-6cd7a3fa797dc9b337c60cced2321da2d65884fb.tar.xz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/GCOV.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/GCOV.h b/include/llvm/Support/GCOV.h index c709af5d50..9aa44139f0 100644 --- a/include/llvm/Support/GCOV.h +++ b/include/llvm/Support/GCOV.h @@ -279,7 +279,7 @@ public: } void setRunCount(uint32_t Runs) { RunCount = Runs; } void setProgramCount(uint32_t Programs) { ProgramCount = Programs; } - void print(raw_fd_ostream &OS, StringRef gcnoFile, StringRef gcdaFile) const; + void print(StringRef gcnoFile, StringRef gcdaFile) const; private: StringMap<LineData> LineInfo; uint32_t RunCount; |