[compiler-rt] r221778 - [ASan] Skip dump_instruction_bytes test on non-x86 targets
Jay Foad
jay.foad at gmail.com
Wed Nov 12 01:45:40 PST 2014
Author: foad
Date: Wed Nov 12 03:45:40 2014
New Revision: 221778
URL: http://llvm.org/viewvc/llvm-project?rev=221778&view=rev
Log:
[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
Modified:
compiler-rt/trunk/test/asan/TestCases/dump_instruction_bytes.cc
Modified: compiler-rt/trunk/test/asan/TestCases/dump_instruction_bytes.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/dump_instruction_bytes.cc?rev=221778&r1=221777&r2=221778&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/dump_instruction_bytes.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/dump_instruction_bytes.cc Wed Nov 12 03:45:40 2014
@@ -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
More information about the llvm-commits
mailing list