diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-01-23 23:09:27 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-01-23 23:09:27 +0000 |
commit | c6945d9e3229332258d9c8d08f3ee127c8c767cd (patch) | |
tree | 2210dd7fc046de767c7983be168a3b6081d223e5 /tools | |
parent | 798383b3ff07936881a466d59e773cb4521eaac4 (diff) |
llvm-cov: Don't use llvm::outs() in library code
Nothing in lib/ should be using llvm::outs() directly. Thread it in
from the caller instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-cov/gcov.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-cov/gcov.cpp b/tools/llvm-cov/gcov.cpp index 12011cea7f2..c0a48f85e54 100644 --- a/tools/llvm-cov/gcov.cpp +++ b/tools/llvm-cov/gcov.cpp @@ -80,7 +80,7 @@ void reportCoverage(StringRef SourceFile, StringRef ObjectDir, FileInfo FI(Options); GF.collectLineCounts(FI); - FI.print(SourceFile, GCNO, GCDA); + FI.print(llvm::outs(), SourceFile, GCNO, GCDA); } int gcovMain(int argc, const char *argv[]) { |