diff options
author | Lang Hames <lhames@gmail.com> | 2018-09-28 01:41:29 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-09-28 01:41:29 +0000 |
commit | 28d596c3aa42662980dd9282d14781729ea67049 (patch) | |
tree | 8444e973f6a11affab8d07d3febf0f0e74d95ae4 /llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp | |
parent | 9b2c5e7c44fd28c31f4a0b088d0bf71da4fddfa5 (diff) | |
download | llvm-28d596c3aa42662980dd9282d14781729ea67049.zip llvm-28d596c3aa42662980dd9282d14781729ea67049.tar.gz llvm-28d596c3aa42662980dd9282d14781729ea67049.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ThreadSafeModule.cpp')
0 files changed, 0 insertions, 0 deletions