mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-22 19:38:40 +00:00
Make this print the right start pointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c0c10c2b9
commit
f3af4ff005
@ -815,9 +815,11 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG(std::cerr << "JIT: Finished CodeGen of [" << (void*)BufferBegin
|
DEBUG(void *FnStart = TheJIT->getPointerToGlobalIfAvailable(F.getFunction());
|
||||||
|
char *FnEnd = (char*)getCurrentPCOffset();
|
||||||
|
std::cerr << "JIT: Finished CodeGen of [" << FnStart
|
||||||
<< "] Function: " << F.getFunction()->getName()
|
<< "] Function: " << F.getFunction()->getName()
|
||||||
<< ": " << getCurrentPCOffset() << " bytes of text, "
|
<< ": " << (FnEnd-(char*)FnStart) << " bytes of text, "
|
||||||
<< Relocations.size() << " relocations\n");
|
<< Relocations.size() << " relocations\n");
|
||||||
Relocations.clear();
|
Relocations.clear();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user