mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-04 18:16:06 +00:00
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;
|
return false;
|
||||||
if (process && m_jit_alloc != LLDB_INVALID_ADDRESS)
|
if (process && m_jit_alloc != LLDB_INVALID_ADDRESS)
|
||||||
m_jit_process_wp = lldb::ProcessWP(process->shared_from_this());
|
m_jit_process_wp = lldb::ProcessWP(process->shared_from_this());
|
||||||
|
|
||||||
|
m_JITted = true;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user