mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -353,7 +353,7 @@ void Deserializer::RegisterPtr(const SerializedPtrID& PtrId,
|
|||||||
assert (!HasFinalPtr(E) && "Pointer already registered.");
|
assert (!HasFinalPtr(E) && "Pointer already registered.");
|
||||||
|
|
||||||
#ifdef DEBUG_BACKPATCH
|
#ifdef DEBUG_BACKPATCH
|
||||||
errs() << "RegisterPtr: " << PtrId << " => " << Ptr << "\n";
|
dbgs() << "RegisterPtr: " << PtrId << " => " << Ptr << "\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SetPtr(E,Ptr);
|
SetPtr(E,Ptr);
|
||||||
@@ -373,7 +373,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef,
|
|||||||
PtrRef = GetFinalPtr(E);
|
PtrRef = GetFinalPtr(E);
|
||||||
|
|
||||||
#ifdef DEBUG_BACKPATCH
|
#ifdef DEBUG_BACKPATCH
|
||||||
errs() << "ReadUintPtr: " << PtrId
|
dbgs() << "ReadUintPtr: " << PtrId
|
||||||
<< " <-- " << (void*) GetFinalPtr(E) << '\n';
|
<< " <-- " << (void*) GetFinalPtr(E) << '\n';
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -382,7 +382,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef,
|
|||||||
"Client forbids backpatching for this pointer.");
|
"Client forbids backpatching for this pointer.");
|
||||||
|
|
||||||
#ifdef DEBUG_BACKPATCH
|
#ifdef DEBUG_BACKPATCH
|
||||||
errs() << "ReadUintPtr: " << PtrId << " (NO PTR YET)\n";
|
dbgs() << "ReadUintPtr: " << PtrId << " (NO PTR YET)\n";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Register backpatch. Check the freelist for a BPNode.
|
// Register backpatch. Check the freelist for a BPNode.
|
||||||
|
Reference in New Issue
Block a user