Skip to content
Commit 5953d12b authored by River Riddle's avatar River Riddle Committed by Mehdi Amini
Browse files

Add thread-safe utilities to LLVMType to allow constructing llvm types in...

    Add thread-safe utilities to LLVMType to allow constructing llvm types in a multi-threaded environment. The LLVMContext is not thread-safe and directly constructing a raw llvm::Type can create situations where the LLVMContext is modified by multiple threads at the same time.

--

PiperOrigin-RevId: 249526233
parent c33862b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment