projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c625d
)
Add debug-only=jit printout, so we see when lazily resolved symbols are
author
Chris Lattner
<sabre@nondot.org>
Mon, 15 Nov 2004 23:16:55 +0000
(23:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 15 Nov 2004 23:16:55 +0000
(23:16 +0000)
set up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17862
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86CodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86CodeEmitter.cpp
b/lib/Target/X86/X86CodeEmitter.cpp
index 27327c18dbc27af50e282d312f8edbe25bb4e0d0..5174441f937028d19450f1e4574932df440cd4c7 100644
(file)
--- 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;
}