mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 15:04:57 +00:00
Make this print the right start pointer
llvm-svn: 28321
This commit is contained in:
parent
ba1dfc1da7
commit
1024577552
@ -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()
|
||||
<< ": " << getCurrentPCOffset() << " bytes of text, "
|
||||
<< ": " << (FnEnd-(char*)FnStart) << " bytes of text, "
|
||||
<< Relocations.size() << " relocations\n");
|
||||
Relocations.clear();
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user