[HWASAN] Disable LSan test on Android (#143625)

Android HWASan does not support LSan.
This commit is contained in:
Florian Mayer
2025-06-10 15:58:53 -07:00
committed by GitHub
parent c706338020
commit 32d2b6ba47

View File

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