[ASan] Disable invalid-pointer-pairs-threads.cc on Darwin.

pthread barriers are not available on OS X

Differential revision: https://reviews.llvm.org/D40600

llvm-svn: 319681
This commit is contained in:
Alex Shlyapnikov 2017-12-04 19:40:39 +00:00
parent 04304d129b
commit 9842821461
1 changed files with 3 additions and 0 deletions

View File

@ -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>