diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:52:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 04:52:46 +0000 |
commit | 3924bb5792446eeb49b21d73b3839ed875aff8b5 (patch) | |
tree | f20fdaabd171ee65c914136d2d2eafedaf7fa84d /llvm/tools/llvm-prof | |
parent | be354a66d362d6b63b61ebbd15efbe49d68141ba (diff) | |
download | bcm5719-llvm-3924bb5792446eeb49b21d73b3839ed875aff8b5.tar.gz bcm5719-llvm-3924bb5792446eeb49b21d73b3839ed875aff8b5.zip |
remove the std::ostream version of module and type printing.
llvm-svn: 79823
Diffstat (limited to 'llvm/tools/llvm-prof')
-rw-r--r-- | llvm/tools/llvm-prof/llvm-prof.cpp | 2 |
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 1950b49cc5e..4110370f3bc 100644 --- a/llvm/tools/llvm-prof/llvm-prof.cpp +++ b/llvm/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(), |