llvm-project/compiler-rt/lib/tsan
Julian Lettner c27df85299 [TSan][libdispatch] Avoid infinite recursion in dispatch_apply[_f] interceptors
In libdispatch, dispatch_apply is implemented in terms of
dispatch_apply_f. Unfortunately, this means that we can't implement the
interceptor for dispatch_apply_f by forwarding to the dispatch_apply
interceptor.

In the interceptor dispatch_apply_f, we can't use WRAP(dispatch_apply).
WRAP(dispatch_apply) -> REAL(dispatch_apply_f). Requires duplication of
some setup code.

Reviewed By: kubamracek

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

llvm-svn: 356467
2019-03-19 16:12:59 +00:00
..
benchmarks tsan: add more benchmarks 2019-02-07 14:04:04 +00:00
dd [compiler-rt] Cleanup usage of C++ ABI library 2019-02-16 08:34:26 +00:00
go sanitizers: Introduce ThreadType enum 2019-02-07 11:01:22 +00:00
rtl [TSan][libdispatch] Avoid infinite recursion in dispatch_apply[_f] interceptors 2019-03-19 16:12:59 +00:00
tests [TSan][libdispatch] Enable linking and running of tests on Linux 2019-03-15 17:52:27 +00:00
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt [TSan][libdispatch] Enable linking and running of tests on Linux 2019-03-15 17:52:27 +00:00
analyze_libtsan.sh [TSan] Slightly improve check_analyze script. 2015-12-07 20:18:50 +00:00
check_analyze.sh tsan: add fiber support 2019-02-13 13:21:24 +00:00
check_cmake.sh