[compiler-rt] e860896 - [asan] Disable fakestack_alignment.ll test for Android

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 12 16:52:10 PDT 2025


Author: Thurston Dang
Date: 2025-08-12T23:51:59Z
New Revision: e8608960b1a48d829c6ef14ed7b5cd76c3ef958a

URL: https://github.com/llvm/llvm-project/commit/e8608960b1a48d829c6ef14ed7b5cd76c3ef958a
DIFF: https://github.com/llvm/llvm-project/commit/e8608960b1a48d829c6ef14ed7b5cd76c3ef958a.diff

LOG: [asan] Disable fakestack_alignment.ll test for Android

This test, introduced in
https://github.com/llvm/llvm-project/commit/457b14c327d814fd80316f977cf7b1eafc488632,
breaks the Android build bot (https://lab.llvm.org/buildbot/#/builders/186/builds/11522).

ASan on Android has been deprecated in favor of HWASan
(https://source.android.com/docs/security/test/asan), so disable this
test.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Posix/fakestack_alignment.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Posix/fakestack_alignment.cpp b/compiler-rt/test/asan/TestCases/Posix/fakestack_alignment.cpp
index 0ac963a857a18..ee52c405ae1a3 100644
--- a/compiler-rt/test/asan/TestCases/Posix/fakestack_alignment.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/fakestack_alignment.cpp
@@ -17,6 +17,8 @@
 // RUN: %clangxx_asan -pthread -fsanitize-address-use-after-return=always -O0 -DALIGNMENT=8192  -DTHREAD_COUNT=32 -DTHREAD_STACK_SIZE=131072 %s -o %t && %run %t 2>&1
 // RUN: %clangxx_asan -pthread -fsanitize-address-use-after-return=always -O0 -DALIGNMENT=16384 -DTHREAD_COUNT=32 -DTHREAD_STACK_SIZE=131072 %s -o %t && %run %t 2>&1
 
+// UNSUPPORTED: android
+
 #include <assert.h>
 #include <pthread.h>
 #include <stdio.h>


        


More information about the llvm-commits mailing list