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

Mariusz Borsa via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 31 17:52:31 PDT 2025


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

>From 997a9ef880ce4ee4282c92c9fbadf1652c04d94c 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] release/20.x: [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