Skip to content
Commit 28d596c3 authored by Lang Hames's avatar Lang Hames
Browse files

[ORC] Lock ThreadSafeContext during module destruction in ThreadSafeModule's

move constructor.

This is basically the same fix as r343261, but applied to the move constructor:
Failure to lock the context during module destruction can lead to data races if
other threads are operating on the context.

llvm-svn: 343286
parent 9b2c5e7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment