summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/calloc-overflow.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/malloc-size-too-big.cc2
5 files changed, 10 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc b/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
index e24d2f604cc..44d9de8c791 100644
--- a/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/aligned_alloc-alignment.cc
@@ -5,6 +5,8 @@
// FIXME(alekseyshl): #0 frame does not look as expected on ppc64be, fix it.
// UNSUPPORTED: android,powerpc64
+// REQUIRES: stable-runtime
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc b/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc
index 1d40811fc87..52c583b3b94 100644
--- a/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/pvalloc-overflow.cc
@@ -6,6 +6,8 @@
// UNSUPPORTED: freebsd, android
+// REQUIRES: stable-runtime
+
// Checks that pvalloc overflows are caught. If the allocator is allowed to
// return null, the errno should be set to ENOMEM.
diff --git a/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc b/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc
index 208772d9fbc..1391292d23c 100644
--- a/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc
+++ b/compiler-rt/test/asan/TestCases/Posix/posix_memalign-alignment.cc
@@ -2,6 +2,8 @@
// RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
// RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
+// REQUIRES: stable-runtime
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/asan/TestCases/calloc-overflow.cc b/compiler-rt/test/asan/TestCases/calloc-overflow.cc
index 65278101c8d..74582378fd2 100644
--- a/compiler-rt/test/asan/TestCases/calloc-overflow.cc
+++ b/compiler-rt/test/asan/TestCases/calloc-overflow.cc
@@ -2,6 +2,8 @@
// RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
// RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
+// REQUIRES: stable-runtime
+
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc b/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc
index f48d8a7f8ff..f41b7ef75d7 100644
--- a/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc
+++ b/compiler-rt/test/asan/TestCases/malloc-size-too-big.cc
@@ -2,6 +2,8 @@
// RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s
// RUN: %env_asan_opts=allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NULL
+// REQUIRES: stable-runtime
+
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud