diff options
author | Lang Hames <lhames@gmail.com> | 2018-10-22 21:17:56 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2018-10-22 21:17:56 +0000 |
commit | 95abadec0bace0093993f6320c741e2b1e0ec14b (patch) | |
tree | 8a5ecc30b2be1696f3c3e2b6a22267b62cdae74d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | fb41544af8176aadbc2ec55d3683423af00952e5 (diff) | |
download | bcm5719-llvm-95abadec0bace0093993f6320c741e2b1e0ec14b.tar.gz bcm5719-llvm-95abadec0bace0093993f6320c741e2b1e0ec14b.zip |
[ORC] Guard access to the MemMgrs vector in RTDyldObjectLinkingLayer.
Otherwise we can end up with a data-race when linking concurrently.
This should fix an intermittent failure in the multiple-compile-threads-basic.ll
testcase.
llvm-svn: 344956
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions