diff --git a/compiler-rt/test/tsan/map32bit.cc b/compiler-rt/test/tsan/map32bit.cc index f23d7f76e604..b59946f2ea7a 100644 --- a/compiler-rt/test/tsan/map32bit.cc +++ b/compiler-rt/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); diff --git a/compiler-rt/test/tsan/thread_name2.cc b/compiler-rt/test/tsan/thread_name2.cc index 93387dab2b0b..d7ed0f0d1952 100644 --- a/compiler-rt/test/tsan/thread_name2.cc +++ b/compiler-rt/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