llvm-project/compiler-rt/lib/tsan/rtl
Than McIntosh 24a62bfe9a tsan: fix bug in shadow reset introduced in D128909
Correct a bug in the code that resets shadow memory introduced as part
of a previous change for the Go race detector (D128909). The bug was
that only the most recently added shadow segment was being reset, as
opposed to the entire extent of the segment created so far. This
fixes a bug identified in Google internal testing (b/240733951).

Differential Revision: https://reviews.llvm.org/D131256
2022-08-05 11:36:58 -04:00
..
CMakeLists.txt [compiler-rt][NFC] Inclusive language: remove use of sanity check/test 2022-04-25 16:13:11 -05:00
tsan.syms.extra
tsan_debugging.cpp tsan: remove unused ReportMutex::destroyed 2021-12-21 11:37:01 +01:00
tsan_defs.h tsan: fix false positive during fd close 2022-03-08 10:40:56 +01:00
tsan_dense_alloc.h tsan: optimize DenseSlabAlloc 2022-07-19 15:42:57 +02:00
tsan_dispatch_defs.h [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_external.cpp tsan: don't include tsan_interceptors.h for Go 2021-08-05 16:56:28 +02:00
tsan_fd.cpp tsan: avoid false positives related to epoll 2022-04-27 16:59:46 +02:00
tsan_fd.h tsan: avoid false positives related to epoll 2022-04-27 16:59:46 +02:00
tsan_flags.cpp [compiler-rt][NFC] Inclusive language: remove use of sanity check/test 2022-04-25 16:13:11 -05:00
tsan_flags.h
tsan_flags.inc tsan: remove tracking of racy addresses 2022-07-25 10:33:26 +02:00
tsan_ignoreset.cpp tsan: minor IgnoreSet refactoring 2021-08-02 11:13:51 +02:00
tsan_ignoreset.h tsan: minor IgnoreSet refactoring 2021-08-02 11:13:51 +02:00
tsan_ilist.h tsan: add intrusive doubly-linked list 2021-07-29 17:07:27 +02:00
tsan_interceptors.h [TSan] Handle FreeBSD specific indirection of libpthread functions 2022-02-07 11:01:37 +01:00
tsan_interceptors_libdispatch.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_interceptors_mac.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_interceptors_mach_vm.cpp
tsan_interceptors_posix.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_interface.cpp tsan: optimize __tsan_read/write16 2021-12-21 11:33:28 +01:00
tsan_interface.h tsan: don't call dlsym during exit 2021-09-22 07:11:59 +02:00
tsan_interface.inc tsan: optimize __tsan_read/write16 2021-12-21 11:33:28 +01:00
tsan_interface_ann.cpp tsan: prevent insertion of memset into BenignRaceImpl 2021-07-31 09:17:14 +02:00
tsan_interface_ann.h
tsan_interface_atomic.cpp Revert "tsan: model atomic read for failing CAS" 2022-05-02 22:26:56 -07:00
tsan_interface_java.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_interface_java.h
tsan_malloc_mac.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_md5.cpp
tsan_mman.cpp [NFC][sanitizer] Consolidate malloc hook invocations 2022-04-12 20:08:29 -07:00
tsan_mman.h tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_mutexset.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_mutexset.h tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_new_delete.cpp
tsan_platform.h tsan: capture shadow map start/end on init and reuse in reset 2022-07-26 10:04:39 -04:00
tsan_platform_linux.cpp [compiler-rt] Fix the longjmp sp slot on FreeBSD AArch64 2022-06-08 17:22:27 -04:00
tsan_platform_mac.cpp [Sanitizer][Darwin] Factor out code for GCD worker registration 2022-07-22 13:29:28 -07:00
tsan_platform_posix.cpp [TSan][Darwin] Fix shadow mapping for iOS simulator on Apple Silicon 2021-12-17 15:59:43 -08:00
tsan_platform_windows.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_ppc_regs.h
tsan_preinit.cpp
tsan_report.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_report.h tsan: print signal num in errno spoiling reports 2022-03-18 16:12:11 +01:00
tsan_rtl.cpp tsan: fix bug in shadow reset introduced in D128909 2022-08-05 11:36:58 -04:00
tsan_rtl.h tsan: capture shadow map start/end on init and reuse in reset 2022-07-26 10:04:39 -04:00
tsan_rtl_aarch64.S
tsan_rtl_access.cpp tsan: prevent pathological slowdown for spurious races 2022-07-25 10:40:11 +02:00
tsan_rtl_amd64.S tsan: remove hacky call 2021-12-21 19:53:49 +01:00
tsan_rtl_mips64.S
tsan_rtl_mutex.cpp tsan: fix false positive during fd close 2022-03-08 10:40:56 +01:00
tsan_rtl_ppc64.S
tsan_rtl_proc.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_rtl_report.cpp tsan: prevent pathological slowdown for spurious races 2022-07-25 10:40:11 +02:00
tsan_rtl_s390x.S [compiler-rt] Add NO_EXEC_STACK_DIRECTIVE on s390x 2022-05-13 07:57:10 +02:00
tsan_rtl_thread.cpp [Sanitizers][Darwin] Replace SANITIZER_MAC with SANITIZER_APPLE in source files 2022-05-24 12:59:27 -07:00
tsan_shadow.h tsan: prevent pathological slowdown for spurious races 2022-07-25 10:40:11 +02:00
tsan_stack_trace.cpp tsan: introduce New/Alloc/Free helpers 2021-07-30 11:51:55 +02:00
tsan_stack_trace.h
tsan_suppressions.cpp
tsan_suppressions.h
tsan_symbolize.cpp tsan: introduce New/Alloc/Free helpers 2021-07-30 11:51:55 +02:00
tsan_symbolize.h
tsan_sync.cpp tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_sync.h tsan: remove old vector clocks 2021-12-21 19:54:27 +01:00
tsan_trace.h tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
tsan_vector_clock.cpp [tsan] Complete renaming kMaxSid to kThreadSlotCount 2021-08-02 16:52:29 +02:00
tsan_vector_clock.h tsan: add new vector clock 2021-08-02 13:45:31 +02:00