r351643 - [FIX] Restrict callback pthreads_create test to linux only
Johannes Doerfert via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 19 01:40:10 PST 2019
Author: jdoerfert
Date: Sat Jan 19 01:40:10 2019
New Revision: 351643
URL: http://llvm.org/viewvc/llvm-project?rev=351643&view=rev
Log:
[FIX] Restrict callback pthreads_create test to linux only
Modified:
cfe/trunk/test/CodeGen/callback_pthread_create.c
Modified: cfe/trunk/test/CodeGen/callback_pthread_create.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/callback_pthread_create.c?rev=351643&r1=351642&r2=351643&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/callback_pthread_create.c (original)
+++ cfe/trunk/test/CodeGen/callback_pthread_create.c Sat Jan 19 01:40:10 2019
@@ -1,6 +1,9 @@
// RUN: %clang -O1 %s -S -c -emit-llvm -o - | FileCheck %s
// RUN: %clang -O1 %s -S -c -emit-llvm -o - | opt -ipconstprop -S | FileCheck --check-prefix=IPCP %s
+// This is a linux only test for now due to the include.
+// UNSUPPORTED: !linux
+
// CHECK: declare !callback ![[cid:[0-9]+]] {{.*}}i32 @pthread_create
// CHECK: ![[cid]] = !{![[cidb:[0-9]+]]}
// CHECK: ![[cidb]] = !{i64 2, i64 3, i1 false}
More information about the cfe-commits
mailing list