[llvm-dev] Is OrcJIT compile-on-demand thread safe?
Siu Kwan Lam via llvm-dev
llvm-dev at lists.llvm.org
Thu Feb 23 08:43:13 PST 2017
I am trying OrcMCJITReplacement but I am seeing failures whenever multiple
threads calls the same function concurrently. I am suspecting that the
compile-on-demand feature is not thread safe.
Details of my usecase:
A single JIT engine compiles code and sends the jitted function address to
multiple threads. So, all threads could be enter the lazy function stub
Siu Kwan Lam
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev