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:
Chris Lattner 2004-11-15 23:16:55 +00:00
parent 36c625d3a5
commit 5aa3ed92de

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;
}