mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
More debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
212e6983eb
commit
366cf29ca5
@ -94,7 +94,7 @@ Function *ExecutionEngine::FindFunctionNamed(const char *FnName) {
|
||||
void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) {
|
||||
MutexGuard locked(lock);
|
||||
|
||||
DOUT << "JIT: Map \'" << GV->getNameStart() << "\' to " << Addr << "\n";
|
||||
DOUT << "JIT: Map \'" << GV->getNameStart() << "\' to [" << Addr << "]\n";
|
||||
void *&CurVal = state.getGlobalAddressMap(locked)[GV];
|
||||
assert((CurVal == 0 || Addr == 0) && "GlobalMapping already established!");
|
||||
CurVal = Addr;
|
||||
|
@ -226,7 +226,7 @@ unsigned JITResolver::getGOTIndexForAddr(void* addr) {
|
||||
if (!idx) {
|
||||
idx = ++nextGOTIndex;
|
||||
revGOTMap[addr] = idx;
|
||||
DOUT << "JIT: Adding GOT entry " << idx << " for addr " << addr << "\n";
|
||||
DOUT << "JIT: Adding GOT entry " << idx << " for addr [" << addr << "]\n";
|
||||
}
|
||||
return idx;
|
||||
}
|
||||
@ -533,6 +533,8 @@ namespace {
|
||||
if (MBBLocations.size() <= (unsigned)MBB->getNumber())
|
||||
MBBLocations.resize((MBB->getNumber()+1)*2);
|
||||
MBBLocations[MBB->getNumber()] = getCurrentPCValue();
|
||||
DOUT << "JIT: Emitting BB" << MBB->getNumber() << " at ["
|
||||
<< (void*) getCurrentPCValue() << "]\n";
|
||||
}
|
||||
|
||||
virtual intptr_t getConstantPoolEntryAddress(unsigned Entry) const;
|
||||
|
Loading…
Reference in New Issue
Block a user