mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
Add debug-only=jit printout, so we see when lazily resolved symbols are
set up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17862 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -79,6 +79,8 @@ void X86JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
|
|||||||
/// keep track of where we are.
|
/// keep track of where we are.
|
||||||
///
|
///
|
||||||
unsigned JITResolver::addFunctionReference(unsigned Address, Function *F) {
|
unsigned JITResolver::addFunctionReference(unsigned Address, Function *F) {
|
||||||
|
DEBUG(std::cerr << "Emitting lazily resolved reference to function '"
|
||||||
|
<< F->getName() << "' at address " << std::hex << Address << "\n");
|
||||||
LazyCodeGenMap[Address] = F;
|
LazyCodeGenMap[Address] = F;
|
||||||
return (intptr_t)&JITResolver::CompilationCallback;
|
return (intptr_t)&JITResolver::CompilationCallback;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user