[ASan] Skip dump_instruction_bytes test on non-x86 targets
authorJay Foad <jay.foad@gmail.com>
Wed, 12 Nov 2014 09:45:40 +0000 (09:45 +0000)
committerJay Foad <jay.foad@gmail.com>
Wed, 12 Nov 2014 09:45:40 +0000 (09:45 +0000)
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

compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc

index 8908d0b..981e3c3 100644 (file)
@@ -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