[compiler-rt] [HWASAN] Disable LSan test on Android (PR #143625)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 15:56:30 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Florian Mayer (fmayer)

<details>
<summary>Changes</summary>

Android HWASan does not support LSan.


---
Full diff: https://github.com/llvm/llvm-project/pull/143625.diff


1 Files Affected:

- (modified) compiler-rt/test/hwasan/TestCases/Posix/dlerror.cpp (+3) 


``````````diff
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>

``````````

</details>


https://github.com/llvm/llvm-project/pull/143625


More information about the llvm-commits mailing list