ΒΆLLVMOrcThreadSafeContextRef
LLVMOrcCreateNewThreadSafeContext()

Description

Create a ThreadSafeContext containing a new LLVMContext. Ownership of the underlying ThreadSafeContext data is shared: Clients can and should dispose of their ThreadSafeContext as soon as they no longer need to refer to it directly. Other references (e.g. from ThreadSafeModules) will keep the data alive as long as it is needed.

Declared at: llvm/include/llvm-c/Orc.h:1081