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); 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 #define pthread_setname_np pthread_set_name_np