[Lldb-commits] [lldb] r172477 - /lldb/trunk/source/Expression/ClangFunction.cpp

Sean Callanan scallanan at apple.com
Mon Jan 14 13:45:39 PST 2013


Author: spyffe
Date: Mon Jan 14 15:45:38 2013
New Revision: 172477

URL: http://llvm.org/viewvc/llvm-project?rev=172477&view=rev
Log:
Once a function has been JIT-compiled once, don't
JIT it again.

Modified:
    lldb/trunk/source/Expression/ClangFunction.cpp

Modified: lldb/trunk/source/Expression/ClangFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangFunction.cpp?rev=172477&r1=172476&r2=172477&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangFunction.cpp (original)
+++ lldb/trunk/source/Expression/ClangFunction.cpp Mon Jan 14 15:45:38 2013
@@ -277,6 +277,8 @@
         return false;
     if (process && m_jit_alloc != LLDB_INVALID_ADDRESS)
         m_jit_process_wp = lldb::ProcessWP(process->shared_from_this());
+    
+    m_JITted = true;
 
     return true;
 }





More information about the lldb-commits mailing list