From: Jay Foad Date: Wed, 12 Nov 2014 09:45:40 +0000 (+0000) Subject: [ASan] Skip dump_instruction_bytes test on non-x86 targets X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b70a919dbc5d4bd938103446cc1445ab7da9095;p=platform%2Fupstream%2Fllvm.git [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 --- 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