llvm-project/compiler-rt/lib/msan
Evgeniy Stepanov bb91e02efd [msan] Make origin tracking fork-safe.
Chained origins make plain memory stores async-signal-unsafe.
We already disable it inside signal handlers.
This change grabs all origin-related locks before fork() and releases
them after fork() to avoid a deadlock in the child process.

llvm-svn: 217140
2014-09-04 10:36:14 +00:00
..
tests [msan] Fix fcvt interceptor. 2014-08-07 12:45:55 +00:00
CMakeLists.txt [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
Makefile.mk [sanitizer] Add MSan to Makefile-based build rules. 2013-02-21 13:55:54 +00:00
msan.cc [msan] Fix origin_history_per_stack_limit=0 behavior. 2014-09-03 12:15:59 +00:00
msan.h [Sanitizer] Kill deprecated allocator interfaces in ASan, MSan and TSan in favor of 2014-08-12 20:28:20 +00:00
msan.syms.extra Properly generate lists of exported symbols for sanitizer runtimes 2013-08-27 15:08:02 +00:00
msan_allocator.cc [Sanitizer] Kill deprecated allocator interfaces in ASan, MSan and TSan in favor of 2014-08-12 20:28:20 +00:00
msan_allocator.h [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_blacklist.txt [MSan] Add empty default blacklist for MSan 2013-05-21 13:55:56 +00:00
msan_chained_origin_depot.cc [msan] Make origin tracking fork-safe. 2014-09-04 10:36:14 +00:00
msan_chained_origin_depot.h [msan] Make origin tracking fork-safe. 2014-09-04 10:36:14 +00:00
msan_flags.h [msan] Add store_context_size= flag. 2014-06-27 12:48:01 +00:00
msan_interceptors.cc [msan] Make origin tracking fork-safe. 2014-09-04 10:36:14 +00:00
msan_interface_internal.h [Sanitizer] Kill deprecated allocator interfaces in ASan, MSan and TSan in favor of 2014-08-12 20:28:20 +00:00
msan_linux.cc [msan] Print stats even on successful run with atexit=1. 2014-06-24 09:04:06 +00:00
msan_new_delete.cc Add throw() specifiers to more redeclarations of operator delete and operator delete[]. 2014-02-08 01:42:08 +00:00
msan_origin.h [msan] Better diagnostic for invalid origin id. 2014-06-06 12:58:44 +00:00
msan_report.cc [msan] Stop demangling function name in the stack origin report. 2014-07-14 09:35:27 +00:00
msan_thread.cc [msan] Fix false positive on dynamic tls. 2014-06-25 11:30:35 +00:00
msan_thread.h [msan] Disable chained origins in signal handlers. 2014-04-23 14:01:57 +00:00