summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-01-23 23:09:27 +0000
committerJustin Bogner <mail@justinbogner.com>2015-01-23 23:09:27 +0000
commitc6945d9e3229332258d9c8d08f3ee127c8c767cd (patch)
tree2210dd7fc046de767c7983be168a3b6081d223e5 /tools
parent798383b3ff07936881a466d59e773cb4521eaac4 (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.cpp2
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[]) {