llvm-project/compiler-rt/lib/tsan
Kuba Mracek ceb30b0717 [sanitizer] Introduce tid_t as a typedef for OS-provided thread IDs
We seem to assume that OS-provided thread IDs are either uptr or int, neither of which is true on Darwin. This introduces a tid_t type, which holds a OS-provided thread ID (gettid on Linux, pthread_threadid_np on Darwin, pthread_self on FreeBSD).

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

llvm-svn: 300473
2017-04-17 18:17:38 +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 [sanitizer] Introduce tid_t as a typedef for OS-provided thread IDs 2017-04-17 18:17:38 +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] Adjust expectation for check_analyze.sh 2017-04-06 17:09:08 +00:00
check_cmake.sh tsan: use a different dir for llvm build 2014-10-15 08:56:15 +00:00