Skip to content

Commit e88d9f3

Browse files
committed
[asan][test] Fix flake in asan_lsan_deadlock test
While the current test exercised the deadlock behavior prior to #131756, deadlock still can occur intermittently. Since this results in test flakes in CI, we disable this test until the locking behavior can be fixed in the runtime. See #140646 for details.
1 parent dc8f2f0 commit e88d9f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
// RUN: %clangxx_asan -O0 %s -o %t
55
// RUN: %env_asan_opts=detect_leaks=1 not %run %t 2>&1 | FileCheck %s
66

7-
// Hangs for unknown reasons.
8-
// UNSUPPORTED: darwin
7+
// FIXME: Hangs for unknown reasons on all platforms. We can re-enable it when
8+
// its either deterministic, or we solve the deadlock between asan and lsan.
9+
// UNSUPPORTED: true
910

1011
/*
1112
* Purpose: Verify deadlock prevention between ASan error reporting and LSan leak checking.

0 commit comments

Comments
 (0)