diff options
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfoLoaderPass.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index 3e75f0274b..8a8683b7a3 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -21,7 +21,7 @@ #include "llvm/Analysis/ProfileInfoLoader.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Compiler.h" -#include "llvm/Support/Streams.h" +#include "llvm/Support/raw_ostream.h" using namespace llvm; static cl::opt<std::string> @@ -92,8 +92,8 @@ bool LoaderPass::runOnModule(Module &M) { } } if (ei != ECs.size()) { - cerr << "WARNING: profile information is inconsistent with " - << "the current program!\n"; + errs() << "WARNING: profile information is inconsistent with " + << "the current program!\n"; } } @@ -108,8 +108,8 @@ bool LoaderPass::runOnModule(Module &M) { BlockInformation[F][BB] = BCs[bi++]; } if (bi != BCs.size()) { - cerr << "WARNING: profile information is inconsistent with " - << "the current program!\n"; + errs() << "WARNING: profile information is inconsistent with " + << "the current program!\n"; } } @@ -123,8 +123,8 @@ bool LoaderPass::runOnModule(Module &M) { FunctionInformation[F] = FCs[fi++]; } if (fi != FCs.size()) { - cerr << "WARNING: profile information is inconsistent with " - << "the current program!\n"; + errs() << "WARNING: profile information is inconsistent with " + << "the current program!\n"; } } |