[compiler-rt] r221777 - [ASan] Skip ptrace test on non-x86 targets

Jay Foad jay.foad at gmail.com
Wed Nov 12 01:42:01 PST 2014


Author: foad
Date: Wed Nov 12 03:42:01 2014
New Revision: 221777

URL: http://llvm.org/viewvc/llvm-project?rev=221777&view=rev
Log:
[ASan] Skip ptrace test on non-x86 targets

Summary:
Address sanitization of ptrace(2) is only implemented for x86, so skip
the test on other targets.

Reviewers: kcc, eugenis, earthdok, samsonov

Reviewed By: samsonov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6215

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc?rev=221777&r1=221776&r2=221777&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/ptrace.cc Wed Nov 12 03:42:01 2014
@@ -3,8 +3,7 @@
 //
 // RUN: %clangxx_asan -O0 %s -o %t && %run %t
 // RUN: %clangxx_asan -DPOSITIVE -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
-// XFAIL: arm-linux-gnueabi
-// XFAIL: armv7l-unknown-linux-gnueabihf
+// REQUIRES: x86_64-supported-target,i386-supported-target
 
 #include <assert.h>
 #include <stdio.h>





More information about the llvm-commits mailing list