aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-10-23 13:38:12 -0700
committerJohannes Doerfert <johannes@jdoerfert.de>2023-10-26 14:38:23 -0700
commit0012b956f9d59eba4f8df32716d8be13f12cdce2 (patch)
treea04c7a53585b1c661a68ddf52af73657c4d37cd2 /clang/lib/CodeGen/CodeGenModule.h
parent1f5a9d1d073bc0e566333b0758cadc465581ff9d (diff)
downloadllvm-0012b956f9d59eba4f8df32716d8be13f12cdce2.zip
llvm-0012b956f9d59eba4f8df32716d8be13f12cdce2.tar.gz
llvm-0012b956f9d59eba4f8df32716d8be13f12cdce2.tar.bz2
[OpenMP][FIX] Move workaround code to avoid races
The workaround code ensure we always call __kmpc_kernel_parallel, but it did so in a racy manner as the initialization might not have been completed yet. To avoid introducing a sync, we move the workaround into the deinit function for now.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions