From 0b9858dca54969d223a7c4c4ac895ff7c7fada13 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 23 Jan 2015 23:09:27 +0000 Subject: 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. llvm-svn: 226961 --- llvm/tools/llvm-cov/gcov.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-cov') diff --git a/llvm/tools/llvm-cov/gcov.cpp b/llvm/tools/llvm-cov/gcov.cpp index 12011cea7f2..c0a48f85e54 100644 --- a/llvm/tools/llvm-cov/gcov.cpp +++ b/llvm/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[]) { -- cgit v1.2.3