llvm-project/compiler-rt/lib/tsan
Kuba Mracek a7cad4fcb7 [tsan] Detect races on modifying accesses in Swift code
This patch allows the Swift compiler to emit calls to `__tsan_external_write` before starting any modifying access, which will cause TSan to detect races on arrays, dictionaries and other classes defined in non-instrumented modules. Races on collections from the Swift standard library and user-defined structs and a frequent cause of subtle bugs and it's important that TSan detects those on top of existing LLVM IR instrumentation, which already detects races in direct memory accesses.

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

llvm-svn: 302050
2017-05-03 16:51:01 +00:00
..
benchmarks
dd Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
go [tsan] Track external tags in thread traces 2017-04-30 20:35:18 +00:00
rtl [tsan] Detect races on modifying accesses in Swift code 2017-05-03 16:51:01 +00:00
tests [powerpc] deactivate flakey tests on powerpc64le 2017-05-01 13:56:04 +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] Adjust expectation for check_analyze.sh 2017-04-06 17:09:08 +00:00
check_cmake.sh