llvm-project/compiler-rt/lib/tsan/rtl
Dmitry Vyukov 099997540f tsan: fix epoll_pwait2 interceptor
epoll_pwait2 is new and may not be present in libc and/or kernel.
Since we effectively add it to libc (as will be probed by the program
using dlsym or a weak function pointer) we need to handle the case
when it's not present in the actual libc.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D138929
2022-11-30 10:37:11 +01:00
..
CMakeLists.txt [TSan] Adjust `TSAN_RTL_CFLAGS` before it gets copied 2022-11-02 11:21:58 -07:00
tsan.syms.extra [tsan] Replace mem intrinsics with calls to interceptors 2022-09-06 13:09:31 -07:00
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] Keep thread/stack for closed FD 2022-08-22 12:00:52 -07:00
tsan_fd.h [tsan] Keep thread/stack for closed FD 2022-08-22 12:00:52 -07: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: fix deadlock/crash in signal handling 2022-09-30 14:23:46 +02: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 tsan: fix epoll_pwait2 interceptor 2022-11-30 10:37:11 +01:00
tsan_interface.cpp tsan: optimize __tsan_read/write16 2021-12-21 11:33:28 +01:00
tsan_interface.h [tsan] Replace mem intrinsics with calls to interceptors 2022-09-06 13:09:31 -07: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 [tsan] Keep thread/stack for closed FD 2022-08-22 12:00:52 -07:00
tsan_report.h [tsan] Keep thread/stack for closed FD 2022-08-22 12:00:52 -07:00
tsan_rtl.cpp tsan: fix bug in shadow reset introduced in D128909 2022-08-05 11:36:58 -04:00
tsan_rtl.h Fix LazyInitialization in tsan 2022-10-25 00:59:03 +00: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] Keep thread/stack for closed FD 2022-08-22 12:00:52 -07: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