From fb64f11ced9f1d65df5bcac99b8a8b884039b582 Mon Sep 17 00:00:00 2001 From: David Greene Date: Wed, 23 Dec 2009 23:00:50 +0000 Subject: [PATCH] Change dbgs() back to errs() for assert messages as Chris requested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92077 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ProfileInfoLoaderPass.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index 84af53feb50..d8c511f344d 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -161,7 +161,7 @@ bool LoaderPass::runOnModule(Module &M) { } } if (ReadCount != Counters.size()) { - dbgs() << "WARNING: profile information is inconsistent with " + errs() << "WARNING: profile information is inconsistent with " << "the current program!\n"; } NumEdgesRead = ReadCount; @@ -209,7 +209,7 @@ bool LoaderPass::runOnModule(Module &M) { } } if (ReadCount != Counters.size()) { - dbgs() << "WARNING: profile information is inconsistent with " + errs() << "WARNING: profile information is inconsistent with " << "the current program!\n"; } NumEdgesRead = ReadCount; @@ -230,7 +230,7 @@ bool LoaderPass::runOnModule(Module &M) { BlockInformation[F][BB] = (double)Counters[ReadCount++]; } if (ReadCount != Counters.size()) { - dbgs() << "WARNING: profile information is inconsistent with " + errs() << "WARNING: profile information is inconsistent with " << "the current program!\n"; } } @@ -249,7 +249,7 @@ bool LoaderPass::runOnModule(Module &M) { FunctionInformation[F] = (double)Counters[ReadCount++]; } if (ReadCount != Counters.size()) { - dbgs() << "WARNING: profile information is inconsistent with " + errs() << "WARNING: profile information is inconsistent with " << "the current program!\n"; } }