[vmkit-commits] [vmkit] r83406 - /vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Tue Oct 6 13:16:14 PDT 2009
Author: geoffray
Date: Tue Oct 6 15:16:14 2009
New Revision: 83406
URL: http://llvm.org/viewvc/llvm-project?rev=83406&view=rev
Log:
Add some debugging stuff.
Modified:
vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
Modified: vmkit/trunk/lib/Mvm/Compiler/JIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Compiler/JIT.cpp?rev=83406&r1=83405&r2=83406&view=diff
==============================================================================
--- vmkit/trunk/lib/Mvm/Compiler/JIT.cpp (original)
+++ vmkit/trunk/lib/Mvm/Compiler/JIT.cpp Tue Oct 6 15:16:14 2009
@@ -350,6 +350,8 @@
void** addr = mvm::Thread::get() == th ?
(void**)FRAME_PTR() : (void**)th->getLastSP();
void** oldAddr = addr;
+ DEBUG(fprintf(stderr, "%p trace %p\n", (void*)mvm::Thread::get(), (void*)th));
+ DEBUG(th->printBacktraceAfterSignal());
// Loop until we cross the first Java frame.
while (it != th->addresses.begin()) {
More information about the vmkit-commits
mailing list