Skip to content

Commit 0d9346e

Browse files
wrotkiMariusz Borsa
andauthored
[Sanitizers][Test] XFAIL array cookie tests on arm (#154031)
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 Co-authored-by: Mariusz Borsa <[email protected]>
1 parent 0cd4ae9 commit 0d9346e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

compiler-rt/test/asan/TestCases/Posix/new_array_cookie_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
// UNSUPPORTED: ios
88

9+
// Poisoning C++ array redzones is not implemented on arm
10+
// XFAIL: target=arm{{.*}}
11+
912
#include <stdio.h>
1013
#include <stdlib.h>
1114
struct C {

compiler-rt/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
// UNSUPPORTED: ios
77

8+
// Poisoning C++ array redzones is not implemented on arm
9+
// XFAIL: target=arm{{.*}}
10+
811
#include <stdio.h>
912
#include <stdlib.h>
1013
#include <assert.h>

0 commit comments

Comments
 (0)