Skip to content

Conversation

fmayer
Copy link
Contributor

@fmayer fmayer commented Jun 10, 2025

Android HWASan does not support LSan.

Created using spr 1.3.4
@fmayer fmayer requested a review from kstoimenov June 10, 2025 22:56
@llvmbot
Copy link
Member

llvmbot commented Jun 10, 2025

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

Author: Florian Mayer (fmayer)

Changes

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

@fmayer fmayer merged commit 32d2b6b into main Jun 10, 2025
10 of 11 checks passed
@fmayer fmayer deleted the users/fmayer/spr/hwasan-disable-lsan-test-on-android branch June 10, 2025 22:58
tomtor pushed a commit to tomtor/llvm-project that referenced this pull request Jun 14, 2025
Android HWASan does not support LSan.
akuhlens pushed a commit to akuhlens/llvm-project that referenced this pull request Jun 24, 2025
Android HWASan does not support LSan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants