llvm-project/compiler-rt/lib/tsan
Kuba Mracek aa78ad5fea [tsan] Provide API for libraries for race detection on custom objects
This patch allows a non-instrumented library to call into TSan runtime, and tell us about "readonly" and "modifying" accesses to an arbitrary "object" and provide the caller and tag (type of object).  This allows TSan to detect violations of API threading contracts where "read-only" methods can be called simulatenously from multiple threads, while modifying methods must be exclusive.

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

llvm-svn: 293885
2017-02-02 13:17:05 +00:00
..
benchmarks
dd Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
go [tsan] Properly describe GCD worker threads in reports 2017-02-02 12:54:21 +00:00
rtl [tsan] Provide API for libraries for race detection on custom objects 2017-02-02 13:17:05 +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