diff options
author | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-02 00:09:17 +0000 |
---|---|---|
committer | Yuchen Wu <yuchenericwu@hotmail.com> | 2013-11-02 00:09:17 +0000 |
commit | daaa8b720b026c83bf6d4307042057665348b222 (patch) | |
tree | 94d1a9ce4d0b47a8b07aa9a11c2decf3770a27f4 /include/llvm | |
parent | bc28e88a2861ab1183e138f19e92e5d862eaa8a6 (diff) | |
download | external_llvm-daaa8b720b026c83bf6d4307042057665348b222.zip external_llvm-daaa8b720b026c83bf6d4307042057665348b222.tar.gz external_llvm-daaa8b720b026c83bf6d4307042057665348b222.tar.bz2 |
Added command-line option to output llvm-cov to file.
Added -o option to llvm-cov. If no output file is specified, it defaults
to STDOUT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-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 ef1a4eb..d8836e0 100644 --- a/include/llvm/Support/GCOV.h +++ b/include/llvm/Support/GCOV.h @@ -235,7 +235,7 @@ public: LineInfo[Filename][Line-1] += Count; } void setProgramCount(uint32_t PC) { ProgramCount = PC; } - void print(StringRef gcnoFile, StringRef gcdaFile); + void print(raw_fd_ostream &OS, StringRef gcnoFile, StringRef gcdaFile); private: StringMap<LineCounts> LineInfo; uint32_t ProgramCount; |