diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-07-12 14:00:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 15:00:14 -0400 |
commit | 0d2621641ca54315dafe8f1aecda6b68db6aa5c8 (patch) | |
tree | a1de7ce109fa30acf6002e8cdac56bfb688718ed /clang/lib/CodeGen/CodeGenTBAA.cpp | |
parent | 7d1b6b2c32f5d403a8eba2c16c6431847041ab87 (diff) | |
download | llvm-0d2621641ca54315dafe8f1aecda6b68db6aa5c8.zip llvm-0d2621641ca54315dafe8f1aecda6b68db6aa5c8.tar.gz llvm-0d2621641ca54315dafe8f1aecda6b68db6aa5c8.tar.bz2 |
[libc++] Make sure the test for compare-and-wait bug doesn't hang forever (#97907)
This patch adds an explicit timeout mechanism in the compare-and-wait
test for std::atomic, ensuring that it doesn't run forever when the bug
is present. This is not an issue when we run inside the CI because we
specify a timeout manually, but it can be a problem when running
locally, for example.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenTBAA.cpp')
0 files changed, 0 insertions, 0 deletions