aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDmitry Vasilyev <dvassiliev@accesssoftek.com>2025-07-15 22:42:27 +0400
committerGitHub <noreply@github.com>2025-07-15 22:42:27 +0400
commitefa94cf703a510083f411444650f3a8d21dfcfee (patch)
treeeb56c4ba79084654ab33b2c6fc73e76f228f0881 /clang/lib/Frontend/CompilerInvocation.cpp
parent95fa67603c4ab5d75a2f8df328d7da5580466d50 (diff)
downloadllvm-efa94cf703a510083f411444650f3a8d21dfcfee.zip
llvm-efa94cf703a510083f411444650f3a8d21dfcfee.tar.gz
llvm-efa94cf703a510083f411444650f3a8d21dfcfee.tar.bz2
[Support/rpmalloc] Updated fake atomics with Interlocked functions (#148303)
Most atomic functions used Interlocked functions in case of MSVC (since MSVC does not do C11 yet). But few load/store functions are dummy. Use Interlocked functions for these atomics to ensure they are thread-safe. This PR fixes #146205. LLVM is on VS 2019 version 16.7 currently and eventually we require VS 2022 if we wanted to use stdatomics in rpmalloc, etc. In the meanwhile, we use the Interlocked intrinsics when building with MSVC.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions