diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-12-04 19:40:39 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-12-04 19:40:39 +0000 |
commit | 2514785ed7ee7a3cd0eb68fe84c05a2dd6ff88ac (patch) | |
tree | adb0791045ac5b37267eb91c74932bc3ad15f004 /test | |
parent | c9d933986ac9833fc9929999b669818be6e60053 (diff) |
[ASan] Disable invalid-pointer-pairs-threads.cc on Darwin.
pthread barriers are not available on OS X
Differential revision: https://reviews.llvm.org/D40600
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc | 3 |
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> |