llvm-project/compiler-rt/lib/tsan/rtl
Dmitry Vyukov 8586e2352b tsan: fix handling of pthread_detach
Fixes https://llvm.org/bugs/show_bug.cgi?id=23235

If pthread_create is followed by pthread_detach,
the new thread may not acquire synchronize with
the parent thread.

llvm-svn: 235293
2015-04-20 10:35:10 +00:00
..
Makefile.old [TSan] Disable -Wno-maybe-uninitialized in yet another place. 2015-03-24 00:38:43 +00:00
tsan.syms.extra
tsan_clock.cc Replace DCHECK with DCHECK_LE where appropriate. 2015-01-03 04:29:05 +00:00
tsan_clock.h tsan: address comments in r214912 2014-09-02 09:34:34 +00:00
tsan_defs.h [TSan] Provide default values for compile definitions. 2015-02-17 23:23:10 +00:00
tsan_dense_alloc.h tsan: add a useful debug check 2014-07-28 13:54:18 +00:00
tsan_fd.cc tsan: fix false positive related to signals 2014-10-15 08:56:43 +00:00
tsan_fd.h [sanitizer] Intercept a bunch of stdio calls. 2014-04-25 13:26:21 +00:00
tsan_flags.cc tsan: fix parsing of second_deadlock_stack flag 2015-04-14 10:32:33 +00:00
tsan_flags.h [Sanitizer] Change the runtime flag representation. 2015-01-07 00:38:00 +00:00
tsan_flags.inc [Sanitizer] Refactor SuppressionContext class. 2015-02-20 17:41:59 +00:00
tsan_ignoreset.cc tsan: better diagnostics if thread finishes with ignores enabled 2013-11-27 11:30:28 +00:00
tsan_ignoreset.h tsan: better diagnostics if thread finishes with ignores enabled 2013-11-27 11:30:28 +00:00
tsan_interceptors.cc tsan: fix handling of pthread_detach 2015-04-20 10:35:10 +00:00
tsan_interface.cc tsan: properly instrument unaligned accesses 2015-01-27 20:19:12 +00:00
tsan_interface.h tsan: properly instrument unaligned accesses 2015-01-27 20:19:12 +00:00
tsan_interface_ann.cc [TSan] Use StackTrace from sanitizer_common where applicable 2014-11-03 22:23:44 +00:00
tsan_interface_ann.h
tsan_interface_atomic.cc [TSan][MIPS] Adding support for MIPS64 2015-02-20 06:42:41 +00:00
tsan_interface_inl.h
tsan_interface_java.cc tsan: add acquire/release functions to java interface 2014-12-22 09:44:56 +00:00
tsan_interface_java.h tsan: add acquire/release functions to java interface 2014-12-22 09:44:56 +00:00
tsan_md5.cc Fix -Wcast-qual warnings in sanitizers 2014-11-13 22:40:59 +00:00
tsan_mman.cc [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
tsan_mman.h [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
tsan_mutex.cc Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
tsan_mutex.h Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
tsan_mutexset.cc
tsan_mutexset.h [tsan] remove TSAN_GO in favor of SANITIZER_GO 2014-12-09 01:31:14 +00:00
tsan_platform.h [TSan][MIPS] Adding support for MIPS64 2015-02-20 06:42:41 +00:00
tsan_platform_linux.cc Split Mprotect into MmapNoAccess and MprotectNoAccess to be more portable 2015-04-10 15:02:19 +00:00
tsan_platform_mac.cc tsan: handle async signals while blocked in pthread_cond_wait 2015-04-08 07:48:52 +00:00
tsan_platform_windows.cc [asan] move GetRSS from tsan to sanitizer_common 2014-12-09 01:22:59 +00:00
tsan_report.cc [Sanitizer] Print column number in SUMMARY line if it's available. 2015-02-27 02:29:25 +00:00
tsan_report.h Simplify Symbolizer::SymbolizePC() interface. 2014-12-02 19:48:40 +00:00
tsan_rtl.cc Use WriteToFile instead of internal_write in non-POSIX code 2015-04-09 14:11:25 +00:00
tsan_rtl.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:44:24 +00:00
tsan_rtl_amd64.S [Tsan] Add FreeBSD support to longjmp-related definitions 2014-10-21 13:38:05 +00:00
tsan_rtl_mutex.cc Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:44:24 +00:00
tsan_rtl_report.cc tsan: always subtract one from program counters 2015-02-14 16:06:22 +00:00
tsan_rtl_thread.cc [Tsan] Do not sanitize memcpy() during thread initialization on FreeBSD 2015-03-16 14:42:21 +00:00
tsan_stack_trace.cc [TSan] Use StackTrace from sanitizer_common where applicable 2014-11-03 22:23:44 +00:00
tsan_stack_trace.h [TSan] Use StackTrace from sanitizer_common where applicable 2014-11-03 22:23:44 +00:00
tsan_stat.cc [TSan] Provide default values for compile definitions. 2015-02-17 23:23:10 +00:00
tsan_stat.h tsan: optimize memory access functions 2014-05-30 13:36:29 +00:00
tsan_suppressions.cc [Tsan] Do not declare std_suppressions when not used 2015-03-12 18:14:42 +00:00
tsan_suppressions.h [Sanitizer] Refactor SuppressionContext class. 2015-02-20 17:41:59 +00:00
tsan_symbolize.cc tsan: don't subtract one from fake PCs 2014-12-11 16:12:16 +00:00
tsan_symbolize.h tsan: don't subtract one from fake PCs 2014-12-11 16:12:16 +00:00
tsan_sync.cc tsan: don't write to meta shadow unnecessarily 2015-03-27 12:22:44 +00:00
tsan_sync.h tsan: fix crash during __tsan_java_move 2015-03-12 11:24:16 +00:00
tsan_trace.h tsan: fix build 2015-02-14 16:14:10 +00:00
tsan_update_shadow_word_inl.h tsan: optimize memory access functions 2014-05-30 13:36:29 +00:00
tsan_vector.h tsan: refactor storage of meta information for heap blocks and sync objects 2014-05-29 13:50:54 +00:00