[PATCH] D14923: [tsan] Mark a few more tests with "UNSUPPORTED: darwin"

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 28 01:25:17 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL254225: [tsan] Mark a few more tests with "UNSUPPORTED: darwin" (authored by kuba.brecka).

Changed prior to commit:
  http://reviews.llvm.org/D14923?vs=41036&id=41326#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14923

Files:
  compiler-rt/trunk/test/tsan/map32bit.cc
  compiler-rt/trunk/test/tsan/thread_name2.cc

Index: compiler-rt/trunk/test/tsan/thread_name2.cc
===================================================================
--- compiler-rt/trunk/test/tsan/thread_name2.cc
+++ compiler-rt/trunk/test/tsan/thread_name2.cc
@@ -1,6 +1,9 @@
 // RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
 #include "test.h"
 
+// OS X doesn't have pthread_setname_np(tid, name).
+// UNSUPPORTED: darwin
+
 #if defined(__FreeBSD__)
 #include <pthread_np.h>
 #define pthread_setname_np pthread_set_name_np
Index: compiler-rt/trunk/test/tsan/map32bit.cc
===================================================================
--- compiler-rt/trunk/test/tsan/map32bit.cc
+++ compiler-rt/trunk/test/tsan/map32bit.cc
@@ -11,6 +11,9 @@
 // XFAIL: mips64
 // XFAIL: aarch64
 
+// MAP_32BIT doesn't exist on OS X.
+// UNSUPPORTED: darwin
+
 void *Thread(void *ptr) {
   *(int*)ptr = 42;
   barrier_wait(&barrier);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14923.41326.patch
Type: text/x-patch
Size: 898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151128/9f2341c9/attachment.bin>


More information about the llvm-commits mailing list