diff options
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index b5cb95433fc..08a45c62c55 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -19,8 +19,7 @@ #include "llvm/Analysis/ProfileInfo.h" #include "llvm/Analysis/ProfileInfoLoader.h" #include "llvm/Support/CommandLine.h" -#include <iostream> - +#include "llvm/Support/Streams.h" using namespace llvm; namespace { @@ -77,7 +76,7 @@ bool LoaderPass::runOnModule(Module &M) { TerminatorInst *TI = BB->getTerminator(); if (SuccNum >= TI->getNumSuccessors()) { if (!PrintedWarning) { - std::cerr << "WARNING: profile information is inconsistent with " + llvm_cerr << "WARNING: profile information is inconsistent with " << "the current program!\n"; PrintedWarning = true; } |

