From 2514785ed7ee7a3cd0eb68fe84c05a2dd6ff88ac Mon Sep 17 00:00:00 2001 From: Alex Shlyapnikov Date: Mon, 4 Dec 2017 19:40:39 +0000 Subject: [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 --- test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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 #include #include -- cgit v1.2.3