From 9b70a919dbc5d4bd938103446cc1445ab7da9095 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 12 Nov 2014 09:45:40 +0000 Subject: [PATCH] [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 --- compiler-rt/test/asan/TestCases/dump_instruction_bytes.cc | 4 ++-- 1 file 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 8908d0b..981e3c3 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 -- 2.7.4