llvm-project/compiler-rt/lib/tsan
Kuba Mracek a1737293fc [tsan] Only Acquire/Release GCD queues if they're not NULL
While it's usually a bug to call GCD APIs, such as dispatch_after, with NULL as a queue, this often "somehow" works and TSan should maintain binary compatibility with existing code. This patch makes sure we don't try to call Acquire and Release on NULL queues, and add one such testcase for dispatch_after.

Differential Revision: https://reviews.llvm.org/D31355

llvm-svn: 298820
2017-03-26 20:59:23 +00:00
..
benchmarks
dd Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
go tsan: add new mutex annotations 2017-03-26 15:27:04 +00:00
rtl [tsan] Only Acquire/Release GCD queues if they're not NULL 2017-03-26 20:59:23 +00:00
tests Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt [tsan] Provide API for libraries for race detection on custom objects 2017-02-02 13:17:05 +00:00
analyze_libtsan.sh [TSan] Slightly improve check_analyze script. 2015-12-07 20:18:50 +00:00
check_analyze.sh tsan: update tsan_analyze to what tip clang generates 2016-05-03 13:59:41 +00:00
check_cmake.sh tsan: use a different dir for llvm build 2014-10-15 08:56:15 +00:00