aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-10-07 20:57:22 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2021-10-07 21:01:24 -0400
commit44710940af5bed3c338c4c397c561bfb83790218 (patch)
tree60c6ab1e02700aa57ea2e5a616dd4c51927af9af /clang/lib/Frontend/CompilerInvocation.cpp
parentef85ea9a4fbd65e7df2cef0b058f733dee15a42c (diff)
downloadllvm-44710940af5bed3c338c4c397c561bfb83790218.zip
llvm-44710940af5bed3c338c4c397c561bfb83790218.tar.gz
llvm-44710940af5bed3c338c4c397c561bfb83790218.tar.bz2
[OpenMP][FIX] Data race in the SPMD execution of the new runtime
We need to synchronize the threads *before* we destroy the RAII objects that hold the old values and not after to avoid threads executing the parallel region but seeing an inconsistent state. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D111369
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions