summaryrefslogtreecommitdiff
path: root/test/cfi
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-11-14 23:12:52 +0000
committerVedant Kumar <vsk@apple.com>2016-11-14 23:12:52 +0000
commit7dce7f632f61b0aa062382366a844a0b1847efcd (patch)
treea06c20151cb79789210add65c5194331fa703526 /test/cfi
parent4cdb99f90c5a162ed8873af94737ebda95abfb3c (diff)
[cfi] Mark tests as xfailing on Darwin
This allows them to be run on other platforms, undoing damage from r286902. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@286904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi')
-rw-r--r--test/cfi/icall/external-call.c2
-rw-r--r--test/cfi/icall/weak.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cfi/icall/external-call.c b/test/cfi/icall/external-call.c
index d80b66a70..e90c7e042 100644
--- a/test/cfi/icall/external-call.c
+++ b/test/cfi/icall/external-call.c
@@ -4,7 +4,7 @@
// This test uses jump tables containing PC-relative references to external
// symbols, which the Mach-O object writer does not currently support.
-// REQUIRES: rdar://problem/29255437
+// XFAIL: darwin
#include <stdlib.h>
#include <stdio.h>
diff --git a/test/cfi/icall/weak.c b/test/cfi/icall/weak.c
index c5ec620b3..407399111 100644
--- a/test/cfi/icall/weak.c
+++ b/test/cfi/icall/weak.c
@@ -1,6 +1,6 @@
// Test that weak symbols stay weak.
// RUN: %clang_cfi -lm -o %t1 %s && %t1
-// REQUIRES: rdar://problem/29255437
+// XFAIL: darwin
__attribute__((weak)) void does_not_exist(void);