[LLVMdev] LLVM and multi-threading

Duncan Sands baldrick at free.fr
Thu Jul 19 02:00:24 PDT 2012


Hi Mario,
> I know similar questions have been asked several times, but I couldn't
> find an answer in earlier threads.
>
> Is it safe to process several modules concurrently in different threads
> if they share the same LLVM context instance, i.e., is the context
> implementation thread-safe?

no, different threads should use different contexts, not share the same
context.

Ciao, Duncan.



More information about the llvm-dev mailing list