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/unittests/ExecutionEngine/Orc | |
| parent | 9b2c5e7c44fd28c31f4a0b088d0bf71da4fddfa5 (diff) | |
| download | bcm5719-llvm-28d596c3aa42662980dd9282d14781729ea67049.tar.gz bcm5719-llvm-28d596c3aa42662980dd9282d14781729ea67049.zip | |
[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/unittests/ExecutionEngine/Orc')
0 files changed, 0 insertions, 0 deletions

