From 32d2b6ba4797584743d4764b25af0ae6f6c3d063 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Tue, 10 Jun 2025 15:58:53 -0700 Subject: [PATCH] [HWASAN] Disable LSan test on Android (#143625) Android HWASan does not support LSan. --- 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 b6e486b291f3..91acd28a1a5f 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