Add debug-only=jit printout, so we see when lazily resolved symbols are

set up.

llvm-svn: 17862
This commit is contained in:
Chris Lattner 2004-11-15 23:16:55 +00:00
parent 9ef34d44e1
commit 3ed3e8669f

View File

@ -79,6 +79,8 @@ void X86JITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
/// keep track of where we are.
///
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;
return (intptr_t)&JITResolver::CompilationCallback;
}