[compiler-rt] 32d2b6b - [HWASAN] Disable LSan test on Android (#143625)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 15:58:57 PDT 2025
Author: Florian Mayer
Date: 2025-06-10T15:58:53-07:00
New Revision: 32d2b6ba4797584743d4764b25af0ae6f6c3d063
URL: https://github.com/llvm/llvm-project/commit/32d2b6ba4797584743d4764b25af0ae6f6c3d063
DIFF: https://github.com/llvm/llvm-project/commit/32d2b6ba4797584743d4764b25af0ae6f6c3d063.diff
LOG: [HWASAN] Disable LSan test on Android (#143625)
Android HWASan does not support LSan.
Added:
Modified:
compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp
Removed:
################################################################################
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