[compiler-rt] 1590ef3 - [asan][test] Disable asan_lsan_deadlock test (#141145)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 12:55:15 PDT 2025


Author: Paul Kirth
Date: 2025-05-23T12:55:12-07:00
New Revision: 1590ef3dec5570e0ce126b3f1ff41a98e7718645

URL: https://github.com/llvm/llvm-project/commit/1590ef3dec5570e0ce126b3f1ff41a98e7718645
DIFF: https://github.com/llvm/llvm-project/commit/1590ef3dec5570e0ce126b3f1ff41a98e7718645.diff

LOG: [asan][test] Disable asan_lsan_deadlock test (#141145)

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp b/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
index b856b12325bf6..e546b3824a5bd 100644
--- a/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
+++ b/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
@@ -4,8 +4,9 @@
 // RUN: %clangxx_asan -O0 %s -o %t
 // RUN: %env_asan_opts=detect_leaks=1 not %run %t 2>&1 | FileCheck %s
 
-// Hangs for unknown reasons.
-// UNSUPPORTED: darwin
+// FIXME: Hangs for unknown reasons on all platforms. We can re-enable it when
+// its either deterministic, or we solve the deadlock between asan and lsan.
+// UNSUPPORTED: true
 
 /*
  * Purpose: Verify deadlock prevention between ASan error reporting and LSan leak checking.


        


More information about the llvm-commits mailing list