forked from OSchip/llvm-project
Once a function has been JIT-compiled once, don't
JIT it again. llvm-svn: 172477
This commit is contained in:
parent
a2b5c4ba6a
commit
d14fac150d
|
|
@ -277,6 +277,8 @@ ClangFunction::WriteFunctionWrapper (ExecutionContext &exe_ctx, Stream &errors)
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue