[compiler-rt] r319671 - [ASan] Fix test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
Alex Shlyapnikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 10:35:25 PST 2017
Author: alekseyshl
Date: Mon Dec 4 10:35:25 2017
New Revision: 319671
URL: http://llvm.org/viewvc/llvm-project?rev=319671&view=rev
Log:
[ASan] Fix test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc
Explicitly add pthread for asan-dynamic config.
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=319671&r1=319670&r2=319671&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 10:35:25 2017
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -O0 %s -o %t -mllvm -asan-detect-invalid-pointer-pair
+// RUN: %clangxx_asan -O0 %s -pthread -o %t -mllvm -asan-detect-invalid-pointer-pair
// 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
More information about the llvm-commits
mailing list