summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2014-11-12 09:45:40 +0000
committerJay Foad <jay.foad@gmail.com>2014-11-12 09:45:40 +0000
commit9b70a919dbc5d4bd938103446cc1445ab7da9095 (patch)
tree88e589b50ad9336450441cfa0b002a0f6a7f1234
parent854655886be75dca30d86b02b975d86fb7995a31 (diff)
downloadbcm5719-llvm-9b70a919dbc5d4bd938103446cc1445ab7da9095.tar.gz
bcm5719-llvm-9b70a919dbc5d4bd938103446cc1445ab7da9095.zip
[ASan] Skip dump_instruction_bytes test on non-x86 targets
Summary: This test case is blatantly x86-specific, so skip it on other targets. Reviewers: kcc, eugenis, earthdok, samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6216 llvm-svn: 221778
-rw-r--r--compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc b/compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc
index 8908d0b4ea2..981e3c31327 100644
--- a/compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc
+++ b/compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc
@@ -3,6 +3,8 @@
// RUN: %clangxx_asan %s -o %t
// RUN: env ASAN_OPTIONS=dump_instruction_bytes=1 not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-DUMP
// RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NODUMP
+//
+// REQUIRES: x86_64-supported-target,i386-supported-target
int main() {
#if defined(__x86_64__)
@@ -16,5 +18,3 @@ int main() {
// CHECK-NODUMP-NOT: First 16 instruction bytes
return 0;
}
-
-// XFAIL: arm
OpenPOWER on IntegriCloud