[compiler-rt] 6c51603 - [asan] Temporarily disable new test cases from #133175 on Android

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 15:28:12 PDT 2025


Author: Thurston Dang
Date: 2025-04-10T22:28:01Z
New Revision: 6c51603e4cc4978194c99d64d26712f97d715ffc

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

LOG: [asan] Temporarily disable new test cases from #133175 on Android

My patch causes a build breakage on Android
(https://lab.llvm.org/buildbot/#/builders/186/builds/8103/steps/21/logs/stdio).
I can't easily test on Android, which is not the intended audience for
my patch anyway, so temporarily disable the test pending further
investigation.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/use-after-poison-history-size-partial-granule.cpp
    compiler-rt/test/asan/TestCases/use-after-poison-history-size.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/use-after-poison-history-size-partial-granule.cpp b/compiler-rt/test/asan/TestCases/use-after-poison-history-size-partial-granule.cpp
index ec848f2677085..ad22571ce5cf4 100644
--- a/compiler-rt/test/asan/TestCases/use-after-poison-history-size-partial-granule.cpp
+++ b/compiler-rt/test/asan/TestCases/use-after-poison-history-size-partial-granule.cpp
@@ -5,6 +5,9 @@
 // Partial granule
 // RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=poison_history_size=1000 not %run %t    2>&1 | FileCheck %s
 
+// TODO
+// UNSUPPORTED: android
+
 #include <stdio.h>
 #include <stdlib.h>
 

diff  --git a/compiler-rt/test/asan/TestCases/use-after-poison-history-size.cpp b/compiler-rt/test/asan/TestCases/use-after-poison-history-size.cpp
index a279fe657b87c..6e3dfa4b31968 100644
--- a/compiler-rt/test/asan/TestCases/use-after-poison-history-size.cpp
+++ b/compiler-rt/test/asan/TestCases/use-after-poison-history-size.cpp
@@ -16,6 +16,9 @@
 // Poisoned access with insufficient history
 // RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=poison_history_size=1    not %run %t       2>&1 | FileCheck %s --check-prefixes=CHECK-ACDE,CHECK-BDE,CHECK-E
 
+// TODO
+// UNSUPPORTED: android
+
 #include <stdio.h>
 #include <stdlib.h>
 


        


More information about the llvm-commits mailing list