llvm-project/compiler-rt/include/sanitizer
Kuba Mracek a7cad4fcb7 [tsan] Detect races on modifying accesses in Swift code
This patch allows the Swift compiler to emit calls to `__tsan_external_write` before starting any modifying access, which will cause TSan to detect races on arrays, dictionaries and other classes defined in non-instrumented modules. Races on collections from the Swift standard library and user-defined structs and a frequent cause of subtle bugs and it's important that TSan detects those on top of existing LLVM IR instrumentation, which already detects races in direct memory accesses.

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

llvm-svn: 302050
2017-05-03 16:51:01 +00:00
..
allocator_interface.h [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
asan_interface.h [Sanitizers] Unify the semantics and usage of "exitcode" runtime flag across all sanitizers. 2015-08-21 20:49:37 +00:00
common_interface_defs.h [asan] add one more argument to __sanitizer_print_memory_profile, remove a redundant weak definition. 2017-03-15 23:27:14 +00:00
coverage_interface.h [sanitizer-coverage] remove more unused code 2017-04-19 23:05:53 +00:00
dfsan_interface.h [sanitizer] add a weak hook for strncmp interceptor, both to dfsan and other sanitizers. Hide the declaration and the calls in better macros 2015-07-30 02:32:51 +00:00
esan_interface.h [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
linux_syscall_hooks.h [sanitizer] Add syscall handlers for sigaction and rt_sigaction. 2016-06-24 23:09:44 +00:00
lsan_interface.h [Sanitizers] Unify the semantics and usage of "exitcode" runtime flag across all sanitizers. 2015-08-21 20:49:37 +00:00
msan_interface.h [msan] Add __msan_copy_shadow interface function. 2015-10-12 23:20:24 +00:00
tsan_interface.h [tsan] Detect races on modifying accesses in Swift code 2017-05-03 16:51:01 +00:00
tsan_interface_atomic.h [TSan] Move declarations of __tsan_atomic functions to a public header 2013-12-11 08:18:50 +00:00