mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
efc258146d
commit
6892c7a92d
@ -68,9 +68,9 @@ Value::~Value() {
|
|||||||
// a <badref>
|
// a <badref>
|
||||||
//
|
//
|
||||||
if (!use_empty()) {
|
if (!use_empty()) {
|
||||||
errs() << "While deleting: " << *VTy << " %" << getNameStr() << "\n";
|
dbgs() << "While deleting: " << *VTy << " %" << getNameStr() << "\n";
|
||||||
for (use_iterator I = use_begin(), E = use_end(); I != E; ++I)
|
for (use_iterator I = use_begin(), E = use_end(); I != E; ++I)
|
||||||
errs() << "Use still stuck around after Def is destroyed:"
|
dbgs() << "Use still stuck around after Def is destroyed:"
|
||||||
<< **I << "\n";
|
<< **I << "\n";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -522,7 +522,7 @@ void ValueHandleBase::ValueIsDeleted(Value *V) {
|
|||||||
// All callbacks, weak references, and assertingVHs should be dropped by now.
|
// All callbacks, weak references, and assertingVHs should be dropped by now.
|
||||||
if (V->HasValueHandle) {
|
if (V->HasValueHandle) {
|
||||||
#ifndef NDEBUG // Only in +Asserts mode...
|
#ifndef NDEBUG // Only in +Asserts mode...
|
||||||
errs() << "While deleting: " << *V->getType() << " %" << V->getNameStr()
|
dbgs() << "While deleting: " << *V->getType() << " %" << V->getNameStr()
|
||||||
<< "\n";
|
<< "\n";
|
||||||
if (pImpl->ValueHandles[V]->getKind() == Assert)
|
if (pImpl->ValueHandles[V]->getKind() == Assert)
|
||||||
llvm_unreachable("An asserting value handle still pointed to this"
|
llvm_unreachable("An asserting value handle still pointed to this"
|
||||||
|
Loading…
Reference in New Issue
Block a user