[compiler-rt] [asan][test] Fix flake in asan_lsan_deadlock test (PR #141145)
Paul Kirth via llvm-commits
llvm-commits at lists.llvm.org
Thu May 22 18:52:50 PDT 2025
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/141145
>From 561c4baa2221b19ff2c4736ab6b00504107d718b Mon Sep 17 00:00:00 2001
From: Paul Kirth <paulkirth at google.com>
Date: Thu, 22 May 2025 14:36:44 -0700
Subject: [PATCH] [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.
---
compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp b/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
index b856b12325bf6..b38ead06b291e 100644
--- a/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
+++ b/compiler-rt/test/asan/TestCases/asan_lsan_deadlock.cpp
@@ -4,8 +4,8 @@
// 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
+// Hangs for unknown reasons on all platforms.
+// UNSUPPORTED: true
/*
* Purpose: Verify deadlock prevention between ASan error reporting and LSan leak checking.
More information about the llvm-commits
mailing list