aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Apple <cja-private@pm.me>2024-08-23 14:09:44 -0700
committerGitHub <noreply@github.com>2024-08-23 14:09:44 -0700
commit64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930 (patch)
tree3baedddfb7fc3ded46a0bd8b04c637c3bbc0a278 /clang/lib/Frontend/CompilerInvocation.cpp
parentd7073c527457dc0a71126381afb3c6f0efa1821c (diff)
downloadllvm-64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930.zip
llvm-64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930.tar.gz
llvm-64afbf0cbe2e7b77cc0e139cb9ccd086a7f9b930.tar.bz2
[rtsan][compiler-rt] Prevent UB hang in rtsan lock unit tests (#104733)
It is undefined behavior to lock or unlock an uninitialized lock, and unlock a lock which isn't locked. Introduce a fixture to set up and tear down the locks where appropriate, and separates them into two tests (realtime death and non realtime survival) so each test is guaranteed a fresh lock.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions