[compiler-rt] [Sanitizers][Test] XFAIL array cookie tests on arm (PR #154031)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 17 13:31:31 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Mariusz Borsa (wrotki)
<details>
<summary>Changes</summary>
Poisoning of C++ array redzones is only implemented for x86 CPUs. New arm64 bots are being brought up, where these test fail.
Original C++ arrays shadow poisoning change:
http://reviews.llvm.org/D4774
rdar://158025391
---
Full diff: https://github.com/llvm/llvm-project/pull/154031.diff
2 Files Affected:
- (modified) compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cpp (+3)
- (modified) compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cpp (+3)
``````````diff
diff --git a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cpp b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cpp
index edbdb4016d86e..fa896128cdb72 100644
--- a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cpp
@@ -6,6 +6,9 @@
// UNSUPPORTED: ios
+// Poisoning C++ array redzones is not implemented on arm
+// XFAIL: target=arm{{.*}}
+
#include <stdio.h>
#include <stdlib.h>
struct C {
diff --git a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cpp b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cpp
index 335a56757d296..63b1171df0aef 100644
--- a/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cpp
@@ -5,6 +5,9 @@
// UNSUPPORTED: ios
+// Poisoning C++ array redzones is not implemented on arm
+// XFAIL: target=arm{{.*}}
+
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
``````````
</details>
https://github.com/llvm/llvm-project/pull/154031
More information about the llvm-commits
mailing list