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

Alex Shlyapnikov via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 11:40:39 PST 2017


Author: alekseyshl
Date: Mon Dec  4 11:40:39 2017
New Revision: 319681

URL: http://llvm.org/viewvc/llvm-project?rev=319681&view=rev
Log:
[ASan] Disable invalid-pointer-pairs-threads.cc on Darwin.

pthread barriers are not available on OS X

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

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc?rev=319681&r1=319680&r2=319681&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc Mon Dec  4 11:40:39 2017
@@ -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>




More information about the llvm-commits mailing list