[compiler-rt] [HWASAN] Disable LSan test on Android (PR #143625)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 15:55:58 PDT 2025
https://github.com/fmayer created https://github.com/llvm/llvm-project/pull/143625
Android HWASan does not support LSan.
>From e51a2343af11a1eddf21174bc102178829cba603 Mon Sep 17 00:00:00 2001
From: Florian Mayer <fmayer at google.com>
Date: Tue, 10 Jun 2025 15:55:47 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp b/compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp
index b6e486b291f3a..91acd28a1a5ff 100644
--- a/compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp
+++ b/compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp
@@ -1,6 +1,9 @@
// Make sure dlerror is not classified as a leak even if we use dynamic TLS.
// This is currently not implemented, so this test is XFAIL.
+// Android HWAsan does not support LSan.
+// UNSUPPORTED: android
+
// RUN: %clangxx_hwasan -O0 %s -o %t && HWASAN_OPTIONS=detect_leaks=1 %run %t
#include <assert.h>
More information about the llvm-commits
mailing list