diff options
Diffstat (limited to 'tools/llvm-prof/llvm-prof.cpp')
-rw-r--r-- | tools/llvm-prof/llvm-prof.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp index 1950b49cc5..4110370f3b 100644 --- a/tools/llvm-prof/llvm-prof.cpp +++ b/tools/llvm-prof/llvm-prof.cpp @@ -238,7 +238,7 @@ bool ProfileInfoPrinterPass::runOnModule(Module &M) { ProfileAnnotator PA(PI); if (FunctionsToPrint.empty() || PrintAllCode) - M.print(std::cout, &PA); + M.print(outs(), &PA); else // Print just a subset of the functions. for (std::set<Function*>::iterator I = FunctionsToPrint.begin(), |