OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c9463
)
Change dbgs() back to errs() for assert messages as Chris requested.
author
David Greene
<greened@obbligato.org>
Wed, 23 Dec 2009 22:59:29 +0000
(22:59 +0000)
committer
David Greene
<greened@obbligato.org>
Wed, 23 Dec 2009 22:59:29 +0000
(22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92076
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ProfileInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ProfileInfo.cpp
b/lib/Analysis/ProfileInfo.cpp
index
d6c2297
..
afd86b1
100644
(file)
--- 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;
-
dbg
s() << "{";
+
err
s() << "{";
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() << ",";
}
-
dbg
s() << "}";
+
err
s() << "}";
-
dbg
s() << "ASSERT: could not repair function";
+
err
s() << "ASSERT: could not repair function";
assert(0 && "could not repair function");
}