[llvm-commits] CVS: llvm/lib/Target/X86/X86CodeEmitter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 15 15:17:09 PST 2004
Changes in directory llvm/lib/Target/X86:
X86CodeEmitter.cpp updated: 1.70 -> 1.71
---
Log message:
Add debug-only=jit printout, so we see when lazily resolved symbols are
set up.
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.70 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.71
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.70 Fri Nov 5 10:17:06 2004
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp Mon Nov 15 17:16:55 2004
@@ -79,6 +79,8 @@
/// 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;
}
More information about the llvm-commits
mailing list