llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov 0da172b176 sanitizer_common: add thread safety annotations
Enable clang Thread Safety Analysis for sanitizers:
https://clang.llvm.org/docs/ThreadSafetyAnalysis.html

Thread Safety Analysis can detect inconsistent locking,
deadlocks and data races. Without GUARDED_BY annotations
it has limited value. But this does all the heavy lifting
to enable analysis and allows to add GUARDED_BY incrementally.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D105716
2021-07-12 11:46:49 +02:00
..
benchmarks compiler-rt: Rename .cc file in lib/tsan/{benchmarks,dd,go} to .cpp 2019-08-01 14:30:49 +00:00
dd [tsan] Remove stdlib.h from dd_interceptors.cpp 2020-12-29 14:00:54 -08:00
go [sanitizers] Pass CMAKE_C_FLAGS into TSan buildgo script 2021-02-22 18:49:02 +01:00
rtl sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
tests tsan: increase dense slab alloc capacity 2021-04-29 07:34:50 +02:00
.clang-format [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
CMakeLists.txt [gn build] add build file for tsan runtime 2021-04-02 12:59:14 -04:00
analyze_libtsan.sh Revert "[NFC][TSAN] Logs to debug test script on bot" 2020-10-29 01:11:16 -07:00
check_analyze.sh Revert "[NFC][TSAN] Logs to debug test script on bot" 2020-10-29 01:11:16 -07:00
check_cmake.sh