summaryrefslogtreecommitdiff
path: root/tools/llvm-prof
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:52:46 +0000
commit79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a (patch)
tree507e7ca43cdca884242d2bb314ed04ec8a17d52c /tools/llvm-prof
parent0c47a412079c11656fdcc7e125d604e3aa543903 (diff)
downloadllvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.gz
llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.bz2
llvm-79c5d3f9717756dc3ff56cfcaa3ae1a5930c457a.tar.xz
remove the std::ostream version of module and type printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-prof')
-rw-r--r--tools/llvm-prof/llvm-prof.cpp2
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(),