[compiler-rt] Disable test for lsan and x86_64h (PR #90483)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 21:50:02 PDT 2024


https://github.com/thetruestblue updated https://github.com/llvm/llvm-project/pull/90483

>From dc60a8635b97cf9cc622161eff41a7af7990534a Mon Sep 17 00:00:00 2001
From: Blue Gaston <bgaston2 at apple.com>
Date: Mon, 29 Apr 2024 08:17:34 -0700
Subject: [PATCH 1/2] [Test Only][Darwin][LSan]

Disable this test on x86_64h for LSan.

rdar://125052424
---
 .../TestCases/sanitizer_coverage_trace_pc_guard.cpp             | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
index ed817961c688cc..8e14eada6b9c45 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
@@ -2,6 +2,8 @@
 
 // REQUIRES: has_sancovcc
 // UNSUPPORTED: ubsan,i386-darwin,target={{(powerpc64|s390x|thumb).*}}
+// This test is failing for lsan on darwin on x86_64.
+// UNSUPPORTED: x86_64h && lsan
 // XFAIL: tsan
 // XFAIL: android && asan
 

>From 517fb0272bb756cc5bc64205d9d457a743a96b39 Mon Sep 17 00:00:00 2001
From: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
Date: Mon, 29 Apr 2024 21:49:54 -0700
Subject: [PATCH 2/2] Update sanitizer_coverage_trace_pc_guard.cpp

---
 .../TestCases/sanitizer_coverage_trace_pc_guard.cpp           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
index 8e14eada6b9c45..e46c2edac4cea1 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
@@ -2,8 +2,8 @@
 
 // REQUIRES: has_sancovcc
 // UNSUPPORTED: ubsan,i386-darwin,target={{(powerpc64|s390x|thumb).*}}
-// This test is failing for lsan on darwin on x86_64.
-// UNSUPPORTED: x86_64h && lsan
+// This test is failing for lsan on darwin on x86_64h.
+// UNSUPPORTED: x86_64h && lsan && darwin
 // XFAIL: tsan
 // XFAIL: android && asan
 



More information about the llvm-commits mailing list