summaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileInfo.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-12-23 22:59:29 +0000
committerDavid Greene <greened@obbligato.org>2009-12-23 22:59:29 +0000
commite6717d7ba653d2bafb7ce8f1750ee58513fbabad (patch)
tree3d164cdf9f8ffeb28af211525188dc3fd0f33857 /lib/Analysis/ProfileInfo.cpp
parent63c9463c62fce8cbe02176dfa2d73f375a06f1f2 (diff)
downloadllvm-e6717d7ba653d2bafb7ce8f1750ee58513fbabad.tar.gz
llvm-e6717d7ba653d2bafb7ce8f1750ee58513fbabad.tar.bz2
llvm-e6717d7ba653d2bafb7ce8f1750ee58513fbabad.tar.xz
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
Diffstat (limited to 'lib/Analysis/ProfileInfo.cpp')
-rw-r--r--lib/Analysis/ProfileInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp
index d6c2297e3b..afd86b156b 100644
--- a/lib/Analysis/ProfileInfo.cpp
+++ b/lib/Analysis/ProfileInfo.cpp
@@ -978,7 +978,7 @@ void ProfileInfoT<Function,BasicBlock>::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<Function,BasicBlock>::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");
}