hanchenye-llvm-project/compiler-rt/lib/sanitizer_common
Kuba Brecka 0287e17d09 [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10
In one of the already existing apps that I'm testing TSan on, I really see a mutex path that is longer than 10 (but not by much, something like 11-13 actually). Let's raise this to 20 and weaken the assertion so we don't crash.

Differential Revision: http://reviews.llvm.org/D20427

llvm-svn: 270319
2016-05-21 08:31:13 +00:00
..
scripts [ASAN] Use struct instead of array in sancov.py 2016-04-22 09:20:22 +00:00
tests [compiler-rt] Fix multi-configuration output paths 2016-05-16 14:58:07 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
.clang-tidy fixed clang-tidy config 2016-01-25 19:43:55 +00:00
CMakeLists.txt [sanitizers] [SystemZ] Introduce sanitizer_linux_s390.cc. 2016-04-15 22:11:10 +00:00
sanitizer_addrhashmap.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_allocator.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_allocator.h [sanitizer] Fix a crash in SizeClassAllocator32 with an out-of-range pointer 2016-05-02 15:23:01 +00:00
sanitizer_allocator_interface.h
sanitizer_allocator_internal.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_asm.h [tsan] Port tsan_rtl_amd64.S to OS X to add support for setjmp/longjmp 2015-11-28 12:44:23 +00:00
sanitizer_atomic.h tsan: speed up race deduplication 2015-09-03 11:20:46 +00:00
sanitizer_atomic_clang.h
sanitizer_atomic_clang_other.h
sanitizer_atomic_clang_x86.h
sanitizer_atomic_msvc.h Re-apply r241217 with build fixes: 2015-07-02 01:44:34 +00:00
sanitizer_bitvector.h Revert "Apply modernize-use-default to compiler-rt." 2015-10-30 18:52:31 +00:00
sanitizer_bvgraph.h
sanitizer_common.cc [sanitizer] Break infinite recursion in case of recursive failed CHECKs 2016-05-12 12:49:53 +00:00
sanitizer_common.h [sanitizer] [SystemZ] Abort if the kernel might be vulnerable to CVE-2016-2143. 2016-04-27 17:42:00 +00:00
sanitizer_common_interceptors.inc Revert "[sanitizer] Move *fstat to the common interceptors" 2016-05-19 16:03:10 +00:00
sanitizer_common_interceptors_format.inc [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_common_interceptors_ioctl.inc [asan] Add iOS support. 2016-02-02 02:01:17 +00:00
sanitizer_common_libcdep.cc [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_common_nolibc.cc Fixup for r269288. SleepForSeconds is not available in nolibc builds, let's add an internal_sleep. 2016-05-12 14:08:56 +00:00
sanitizer_common_syscalls.inc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_coverage_libcdep.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_coverage_mapping_libcdep.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_deadlock_detector.h
sanitizer_deadlock_detector1.cc [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10 2016-05-21 08:31:13 +00:00
sanitizer_deadlock_detector2.cc
sanitizer_deadlock_detector_interface.h [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10 2016-05-21 08:31:13 +00:00
sanitizer_flag_parser.cc [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flag_parser.h [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flags.cc [sancov] common flags initialization. 2016-03-18 19:28:07 +00:00
sanitizer_flags.h [sancov] common flags initialization. 2016-03-18 19:28:07 +00:00
sanitizer_flags.inc [sanitizer] Move stat/__xstat to the common interceptors 2016-05-03 23:43:45 +00:00
sanitizer_freebsd.h
sanitizer_interface_internal.h Asan: utility function to determine first wrongly poisoned byte in 2015-11-04 19:56:03 +00:00
sanitizer_internal_defs.h [sanitizer] [SystemZ] Add/fix kernel and libc type definitions. 2016-04-14 21:17:19 +00:00
sanitizer_lfstack.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_libc.cc Fix warnings uncovered by building with clang-cl 2016-04-01 17:09:12 +00:00
sanitizer_libc.h Fixup for r269288. SleepForSeconds is not available in nolibc builds, let's add an internal_sleep. 2016-05-12 14:08:56 +00:00
sanitizer_libignore.cc Reapply r251918 ("[tsan] Fix build errors for TSan on OS X"). 2015-11-03 14:33:39 +00:00
sanitizer_libignore.h
sanitizer_linux.cc [mips][sanitizer_common] Don't use `ld` in internal_clone() on 32-bit MIPS. 2016-05-12 14:21:33 +00:00
sanitizer_linux.h [sanitizer] [SystemZ] Implement internal_clone. 2016-04-26 10:41:19 +00:00
sanitizer_linux_libcdep.cc [ASAN] Add support for mips/mips64 android 2016-03-16 08:23:10 +00:00
sanitizer_linux_s390.cc [sanitizers] [SystemZ] Mark kernel 3.12.58+ as safe from CVE-2016-2143. 2016-04-29 14:59:19 +00:00
sanitizer_list.h Unbreak Windows build. 2016-01-15 02:51:26 +00:00
sanitizer_mac.cc More fixup for r269288 and r269296. Adding the missing 'return'. 2016-05-12 16:58:19 +00:00
sanitizer_mac.h [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_malloc_mac.inc [libsanitizer] Fix bugs and wiki links to point to GitHub. 2015-12-04 17:50:03 +00:00
sanitizer_mutex.h
sanitizer_persistent_allocator.cc
sanitizer_persistent_allocator.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_placement_new.h
sanitizer_platform.h [sanitizers] Get the proper symbol version when long double transition is involved. 2016-04-27 21:24:21 +00:00
sanitizer_platform_interceptors.h Revert "[sanitizer] Move *fstat to the common interceptors" 2016-05-19 16:03:10 +00:00
sanitizer_platform_limits_linux.cc [compiler-rt] adjust platform_limits_linux.cc #include of posix_types 2016-05-02 19:10:48 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_platform_limits_posix.h [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_posix.cc [sanitizer] [SystemZ] Add virtual space size. 2016-04-14 12:56:15 +00:00
sanitizer_posix.h [sanitizers] extracted process management functions 2016-01-26 20:10:01 +00:00
sanitizer_posix_libcdep.cc [sanitizer] add a function MmapNoAccess that mmaps a protected region *somewhere*; use MmapNoAccess in the Allocator when SpaceBeg is not a constant. In this mode the allocator will be a bit more hardened 2016-04-23 00:05:24 +00:00
sanitizer_printf.cc [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_procmaps.h [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_procmaps_common.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_procmaps_freebsd.cc
sanitizer_procmaps_linux.cc [libsanitizer] Fix bugs and wiki links to point to GitHub. 2015-12-04 17:50:03 +00:00
sanitizer_procmaps_mac.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_quarantine.h asan: fix build 2016-04-14 11:40:08 +00:00
sanitizer_report_decorator.h
sanitizer_stackdepot.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_stackdepot.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_stackdepotbase.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_stacktrace.cc [LSAN] Fix test swapcontext.cc on MIPS 2016-05-18 06:09:26 +00:00
sanitizer_stacktrace.h [LSAN] Fix test swapcontext.cc on MIPS 2016-05-18 06:09:26 +00:00
sanitizer_stacktrace_libcdep.cc [sanitizer] add #ifdefs around slow unwinder to fix OS X debug build 2015-07-02 13:56:37 +00:00
sanitizer_stacktrace_printer.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_stacktrace_printer.h [sanitizer_common] Added VS-style output for source locations 2015-06-04 01:20:06 +00:00
sanitizer_stoptheworld.h
sanitizer_stoptheworld_linux_libcdep.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_suppressions.cc [TSan] Try harder to avoid compiler-generated memset calls. 2015-12-09 18:48:10 +00:00
sanitizer_suppressions.h [UBSan] Implement runtime suppressions (PR25066). 2015-12-18 19:56:42 +00:00
sanitizer_symbolizer.cc tsan: describe heap/data locations in Go 2016-03-01 15:38:12 +00:00
sanitizer_symbolizer.h [sanitizer] Fix a crash when demangling Swift symbols, take 2 2016-05-12 13:11:03 +00:00
sanitizer_symbolizer_internal.h [sanitizers] Teach the internal demangler about Swift names 2016-04-15 23:51:00 +00:00
sanitizer_symbolizer_libbacktrace.cc
sanitizer_symbolizer_libbacktrace.h Provide missing Internal{Alloc, Free} declarations for libbacktrace symbolizer. 2015-10-07 23:13:28 +00:00
sanitizer_symbolizer_libcdep.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_symbolizer_mac.cc [sanitizers] Teach the internal demangler about Swift names 2016-04-15 23:51:00 +00:00
sanitizer_symbolizer_mac.h
sanitizer_symbolizer_posix_libcdep.cc [sanitizer] Allow nullptr in Swift demangler 2016-05-12 15:54:33 +00:00
sanitizer_symbolizer_win.cc [sanitizer] Fix a crash when demangling Swift symbols, take 2 2016-05-12 13:11:03 +00:00
sanitizer_syscall_generic.inc
sanitizer_syscall_linux_aarch64.inc [compiler-rt] [sanitizers] Add aarch64 syscall optimization support 2015-08-21 14:50:36 +00:00
sanitizer_syscall_linux_x86_64.inc
sanitizer_thread_registry.cc [sanitizer] Don't reuse the main thread in ThreadRegistry 2016-05-02 15:06:08 +00:00
sanitizer_thread_registry.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_tls_get_addr.cc [Compiler-rt][MIPS] Correct Dynamic Thread Vector offset for MIPS 2016-03-01 05:56:33 +00:00
sanitizer_tls_get_addr.h [sanitizer] Recognize static TLS in __tls_get_addr interceptor. 2015-05-16 00:34:15 +00:00
sanitizer_unwind_linux_libcdep.cc [asan] Don't use libcorkscrew on Android L+. 2016-05-11 20:53:43 +00:00
sanitizer_win.cc tsan: fix windows support 2016-04-27 15:55:05 +00:00