summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-prof/llvm-prof.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 04:37:46 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 04:37:46 +0000
commitb25de3ff6051d69db87c12c8892cfa37ce6e7d64 (patch)
treea6d3f90619240ea8767377f971680ca7896975d5 /llvm/tools/llvm-prof/llvm-prof.cpp
parent82e57a6b481bc016e85e39f254f3648594ddf8d2 (diff)
downloadbcm5719-llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.tar.gz
bcm5719-llvm-b25de3ff6051d69db87c12c8892cfa37ce6e7d64.zip
eliminate the "Value" printing methods that print to a std::ostream.
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
Diffstat (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp')
-rw-r--r--llvm/tools/llvm-prof/llvm-prof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp
index f9f109df50a..1950b49cc5e 100644
--- a/llvm/tools/llvm-prof/llvm-prof.cpp
+++ b/llvm/tools/llvm-prof/llvm-prof.cpp
@@ -243,7 +243,7 @@ bool ProfileInfoPrinterPass::runOnModule(Module &M) {
// Print just a subset of the functions.
for (std::set<Function*>::iterator I = FunctionsToPrint.begin(),
E = FunctionsToPrint.end(); I != E; ++I)
- (*I)->print(std::cout, &PA);
+ (*I)->print(outs(), &PA);
}
return false;
OpenPOWER on IntegriCloud