[llvm-branch-commits] [compiler-rt] release/20.x: [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp (PR #133832)

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 11 09:42:18 PDT 2025


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/133832

>From ac31db0463c02128a7ae11fa5ee3d32d632bd97a Mon Sep 17 00:00:00 2001
From: Mariusz Borsa <wrotki at msn.com>
Date: Mon, 31 Mar 2025 17:06:41 -0700
Subject: [PATCH] [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp

The malloc_zone.cpp test currently fails on Darwin hosts, in SanitizerCommon tests with lsan enabled.

Need to XFAIL this test to buy time to investigate this failure. Also
we're trying to bring the number of test failing on Darwin bots to 0, to
get clearer signal of any new failures.

rdar://145873843

Co-authored-by: Mariusz Borsa <m_borsa at apple.com>
(cherry picked from commit 02837acaaf2cfdfcbf77e4a7f6629575edb6ffb4)
---
 .../test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler-rt/test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp b/compiler-rt/test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp
index fd6ef03629438..5aa087fb4ca12 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp
@@ -17,6 +17,8 @@
 // UBSan does not install a malloc zone.
 // XFAIL: ubsan
 //
+// Currently fails on darwin/lsan
+// XFAIL: darwin && lsan
 
 #include <malloc/malloc.h>
 #include <stdlib.h>



More information about the llvm-branch-commits mailing list