llvm-project/compiler-rt/lib/tsan
Kuba Brecka 419ebb2891 [tsan] Support C++11 call_once in TSan on Darwin
This patch adds a wrapper for call_once, which uses an already-compiled helper __call_once with an atomic release which is invisible to TSan. To avoid false positives, the interceptor performs an explicit atomic release in the callback wrapper.

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

llvm-svn: 280920
2016-09-08 10:15:20 +00:00
..
benchmarks
dd [tsan] Switch to InternalAlloc everywhere __libc_malloc is currently used 2016-06-06 18:18:47 +00:00
go [tsan] On OS X, build Go runtime with -mmacosx-version-min 2016-06-05 15:15:36 +00:00
rtl [tsan] Support C++11 call_once in TSan on Darwin 2016-09-08 10:15:20 +00:00
tests Follow-up for r277458: Update the tsan_mman_test.cc unit test. 2016-08-02 14:41:03 +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] Bump stack frame size limit. 2016-09-01 20:43:59 +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