forked from OSchip/llvm-project
parent
0e7860f21e
commit
f3808b41ea
|
@ -353,7 +353,7 @@ void Deserializer::RegisterPtr(const SerializedPtrID& PtrId,
|
|||
assert (!HasFinalPtr(E) && "Pointer already registered.");
|
||||
|
||||
#ifdef DEBUG_BACKPATCH
|
||||
errs() << "RegisterPtr: " << PtrId << " => " << Ptr << "\n";
|
||||
dbgs() << "RegisterPtr: " << PtrId << " => " << Ptr << "\n";
|
||||
#endif
|
||||
|
||||
SetPtr(E,Ptr);
|
||||
|
@ -373,7 +373,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef,
|
|||
PtrRef = GetFinalPtr(E);
|
||||
|
||||
#ifdef DEBUG_BACKPATCH
|
||||
errs() << "ReadUintPtr: " << PtrId
|
||||
dbgs() << "ReadUintPtr: " << PtrId
|
||||
<< " <-- " << (void*) GetFinalPtr(E) << '\n';
|
||||
#endif
|
||||
}
|
||||
|
@ -382,7 +382,7 @@ void Deserializer::ReadUIntPtr(uintptr_t& PtrRef,
|
|||
"Client forbids backpatching for this pointer.");
|
||||
|
||||
#ifdef DEBUG_BACKPATCH
|
||||
errs() << "ReadUintPtr: " << PtrId << " (NO PTR YET)\n";
|
||||
dbgs() << "ReadUintPtr: " << PtrId << " (NO PTR YET)\n";
|
||||
#endif
|
||||
|
||||
// Register backpatch. Check the freelist for a BPNode.
|
||||
|
|
Loading…
Reference in New Issue