[compiler-rt] r286904 - [cfi] Mark tests as xfailing on Darwin

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 15:12:52 PST 2016


Author: vedantk
Date: Mon Nov 14 17:12:52 2016
New Revision: 286904

URL: http://llvm.org/viewvc/llvm-project?rev=286904&view=rev
Log:
[cfi] Mark tests as xfailing on Darwin

This allows them to be run on other platforms, undoing damage from
r286902.

Modified:
    compiler-rt/trunk/test/cfi/icall/external-call.c
    compiler-rt/trunk/test/cfi/icall/weak.c

Modified: compiler-rt/trunk/test/cfi/icall/external-call.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/icall/external-call.c?rev=286904&r1=286903&r2=286904&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/icall/external-call.c (original)
+++ compiler-rt/trunk/test/cfi/icall/external-call.c Mon Nov 14 17:12:52 2016
@@ -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>

Modified: compiler-rt/trunk/test/cfi/icall/weak.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/cfi/icall/weak.c?rev=286904&r1=286903&r2=286904&view=diff
==============================================================================
--- compiler-rt/trunk/test/cfi/icall/weak.c (original)
+++ compiler-rt/trunk/test/cfi/icall/weak.c Mon Nov 14 17:12:52 2016
@@ -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);
 




More information about the llvm-commits mailing list