diff options
author | Lang Hames <lhames@gmail.com> | 2025-01-03 17:15:33 +1100 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2025-01-03 17:30:19 +1100 |
commit | 30b73ed7bd8934c32e4bd5430bccf52a226deabd (patch) | |
tree | 50f4cb6fe7d616bbf066a9ed76c08b27ba8b5331 /clang/lib/Basic/CodeGenOptions.cpp | |
parent | febe1a9d286df495ca342011b3134823eee37557 (diff) | |
download | llvm-30b73ed7bd8934c32e4bd5430bccf52a226deabd.zip llvm-30b73ed7bd8934c32e4bd5430bccf52a226deabd.tar.gz llvm-30b73ed7bd8934c32e4bd5430bccf52a226deabd.tar.bz2 |
[ORC][MachO] Avoid another race condition in MachOPlatform bootstrap.
Similar to a9e75b1d4d1: During MachOPlatform bootstrap we need to defer actions
until essential platform functionality has been loaded, but the platform itself
may be loaded under a concurrent dispatcher so we have to guard against the
deferred actions vector being accessed concurrently.
This fixes a probablistic failure in the ORC runtime regression tests on
Darwin/x86-64 that was spotted after edca1d9bad2 (which turned on concurrent
linking by default in llvm-jitlink).
Diffstat (limited to 'clang/lib/Basic/CodeGenOptions.cpp')
0 files changed, 0 insertions, 0 deletions