forked from OSchip/llvm-project
8096a8c86f
There are several problems with the current annotations (AnnotateRWLockCreate and friends): - they don't fully support deadlock detection (we need a hook _before_ mutex lock) - they don't support insertion of random artificial delays to perturb execution (again we need a hook _before_ mutex lock) - they don't support setting extended mutex attributes like read/write reentrancy (only "linker init" was bolted on) - they don't support setting mutex attributes if a mutex don't have a "constructor" (e.g. static, Java, Go mutexes) - they don't ignore synchronization inside of lock/unlock operations which leads to slowdown and false negatives The new annotations solve of the above problems. See tsan_interface.h for the interface specification and comments. Reviewed in https://reviews.llvm.org/D31093 llvm-svn: 298809 |
||
---|---|---|
.. | ||
allocator_interface.h | ||
asan_interface.h | ||
common_interface_defs.h | ||
coverage_interface.h | ||
dfsan_interface.h | ||
esan_interface.h | ||
linux_syscall_hooks.h | ||
lsan_interface.h | ||
msan_interface.h | ||
tsan_interface.h | ||
tsan_interface_atomic.h |