From e6717d7ba653d2bafb7ce8f1750ee58513fbabad Mon Sep 17 00:00:00 2001 From: David Greene Date: Wed, 23 Dec 2009 22:59:29 +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@92076 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ProfileInfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index d6c2297e3b4..afd86b156b2 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -978,7 +978,7 @@ void ProfileInfoT::repair(const Function *F) { } if (FoundPath) continue; - dbgs() << "{"; + errs() << "{"; FI = Unvisited.begin(), FE = Unvisited.end(); while(FI != FE) { const BasicBlock *BB = *FI; ++FI; @@ -986,9 +986,9 @@ void ProfileInfoT::repair(const Function *F) { if (FI != FE) dbgs() << ","; } - dbgs() << "}"; + errs() << "}"; - dbgs() << "ASSERT: could not repair function"; + errs() << "ASSERT: could not repair function"; assert(0 && "could not repair function"); } -- 2.34.1