diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-15 23:16:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-15 23:16:55 +0000 |
commit | 5aa3ed92de45f7fa72135cb04816ffa264e5284c (patch) | |
tree | 467140f4a128c618a610693b311190ee2cd1e894 | |
parent | 36c625d3a597bc0126c06ce0ca5ddfe261b6bf60 (diff) |
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
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index 27327c18db..5174441f93 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -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; } |