summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Gribov <y.gribov@samsung.com>2015-05-28 10:30:46 +0000
committerYury Gribov <y.gribov@samsung.com>2015-05-28 10:30:46 +0000
commit64c701b3f7265fe731e095a18792587ee87e5908 (patch)
tree4b17dbc82ecbd836d9c83b1de23e93bf86543763
parentb9d6e8993133994d7f1462b0caec10da77b4c974 (diff)
downloadbcm5719-llvm-64c701b3f7265fe731e095a18792587ee87e5908.tar.gz
bcm5719-llvm-64c701b3f7265fe731e095a18792587ee87e5908.zip
[ASan] XFAIL VLA tests on ARM and PowerPC. Patch by Max Ostapenko!
llvm-svn: 238409
-rw-r--r--compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/alloca_vla_interact.cc3
-rw-r--r--compiler-rt/test/asan/TestCases/vla_condition_overflow.cc2
-rw-r--r--compiler-rt/test/asan/TestCases/vla_loop_overfow.cc2
4 files changed, 9 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cc b/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cc
index 8ae0f707b3f..a71480c797c 100644
--- a/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cc
+++ b/compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cc
@@ -1,6 +1,8 @@
// RUN: %clangxx_asan -O0 -mllvm -asan-instrument-allocas %s -o %t
// RUN: %run %t 2>&1
//
+// XFAIL: arm-linux-gnueabi
+// XFAIL: armv7l-unknown-linux-gnueabihf
// This testcase checks that allocas and VLAs inside loop are correctly unpoisoned.
diff --git a/compiler-rt/test/asan/TestCases/alloca_vla_interact.cc b/compiler-rt/test/asan/TestCases/alloca_vla_interact.cc
index 2b4fb34bfc5..0aeba3306be 100644
--- a/compiler-rt/test/asan/TestCases/alloca_vla_interact.cc
+++ b/compiler-rt/test/asan/TestCases/alloca_vla_interact.cc
@@ -1,6 +1,9 @@
// RUN: %clangxx_asan -O0 -mllvm -asan-instrument-allocas %s -o %t
// RUN: %run %t 2>&1
//
+// XFAIL: arm-linux-gnueabi
+// XFAIL: armv7l-unknown-linux-gnueabihf
+// XFAIL: powerpc64
// This testcase checks correct interaction between VLAs and allocas.
diff --git a/compiler-rt/test/asan/TestCases/vla_condition_overflow.cc b/compiler-rt/test/asan/TestCases/vla_condition_overflow.cc
index 07470d20235..4f083ee9a19 100644
--- a/compiler-rt/test/asan/TestCases/vla_condition_overflow.cc
+++ b/compiler-rt/test/asan/TestCases/vla_condition_overflow.cc
@@ -1,6 +1,8 @@
// RUN: %clangxx_asan -O0 -mllvm -asan-instrument-allocas %s -o %t
// RUN: not %run %t 2>&1 | FileCheck %s
//
+// XFAIL: arm-linux-gnueabi
+// XFAIL: armv7l-unknown-linux-gnueabihf
#include <assert.h>
#include <stdint.h>
diff --git a/compiler-rt/test/asan/TestCases/vla_loop_overfow.cc b/compiler-rt/test/asan/TestCases/vla_loop_overfow.cc
index facafb9577e..276409884fa 100644
--- a/compiler-rt/test/asan/TestCases/vla_loop_overfow.cc
+++ b/compiler-rt/test/asan/TestCases/vla_loop_overfow.cc
@@ -1,6 +1,8 @@
// RUN: %clangxx_asan -O0 -mllvm -asan-instrument-allocas %s -o %t
// RUN: not %run %t 2>&1 | FileCheck %s
//
+// XFAIL: arm-linux-gnueabi
+// XFAIL: armv7l-unknown-linux-gnueabihf
#include <assert.h>
#include <stdint.h>
OpenPOWER on IntegriCloud