Skip to content

[HWASAN] Disable LSan test on Android #143625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025

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
rorth pushed a commit to rorth/llvm-project that referenced this pull request Jun 11, 2025
Android HWASan does not support LSan.
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