summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc')
-rw-r--r--test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc b/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
index 1d0463c28..28be9b591 100644
--- a/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
+++ b/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
@@ -3,6 +3,9 @@
// RUN: %env_asan_opts=detect_invalid_pointer_pairs=1 %run %t a 2>&1 | FileCheck %s -check-prefix=OK -allow-empty
// RUN: %env_asan_opts=detect_invalid_pointer_pairs=1 not %run %t b 2>&1 | FileCheck %s -check-prefix=B
+// pthread barriers are not available on OS X
+// UNSUPPORTED: darwin
+
#include <assert.h>
#include <pthread.h>
#include <stdlib.h>