commit | 58ecc853fca09fbcf03bca15ceeca47b9c63c12d | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Wed Mar 14 06:25:08 2018 +0000 |
committer | Lang Hames <lhames@gmail.com> | Wed Mar 14 06:25:08 2018 +0000 |
tree | a37b4dc464f725e1abd37e33ba9e34e5f4f19ad4 | |
parent | dda1921ef42848088c4b9cfcd054ca17af82228a [diff] |
[ORC] Fix a data race in the lookup function. The Error locals need to be protected by a mutex. (This could be fixed by having the promises / futures contain Expected and Error values, but MSVC's future implementation does not support this yet). Hopefully this will fix some of the errors seen on the builders due to r327474. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327477 91177308-0d34-0410-b5e6-96231b3b80d8