llvm-project/compiler-rt/lib/sanitizer_common
Dmitry Vyukov 3f981fc186 sanitizer_common: add new mutex
We currently have 3 different mutexes:
 - RWMutex
 - BlockingMutex
 - __tsan::Mutex

RWMutex and __tsan::Mutex are roughly the same,
except that tsan version supports deadlock detection.
BlockingMutex degrades better under heavy contention
from lots of threads (blocks in OS), but much slower
for light contention and has non-portable performance
and has larger static size and is not reader-writer.

Add a new mutex that combines all advantages of these
mutexes: it's reader-writer, has fast non-contended path,
supports blocking to gracefully degrade under higher contention,
has portable size/performance.

For now it's named Mutex2 for incremental submission. The plan is to:
 - land this change
 - then move deadlock detection logic from tsan
 - then rename it to Mutex and remove tsan Mutex
 - then typedef RWMutex/BlockingMutex to this mutex

SpinMutex stays as separate type because it has faster fast path:
1 atomic RMW per lock/unlock as compared to 2 for this mutex.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D106231
2021-07-20 08:19:57 +02:00
..
scripts [NFC] Fix cpplint warnings 2020-11-04 22:56:08 -08:00
symbolizer sanitizer_common/symbolizer: fix crashes during exit 2021-05-18 08:58:08 +02:00
tests sanitizer_common: add new mutex 2021-07-20 08:19:57 +02:00
.clang-format [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
CMakeLists.txt sanitizer_common: add Semaphore 2021-07-16 19:34:24 +02:00
sancov_flags.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sancov_flags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sancov_flags.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_addrhashmap.h sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
sanitizer_allocator.cpp sanitizer_common: remove debugging logic from the internal allocator 2021-07-12 13:02:38 +02:00
sanitizer_allocator.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
sanitizer_allocator_bytemap.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_checks.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_allocator_checks.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
sanitizer_allocator_combined.h sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
sanitizer_allocator_interface.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_internal.h [sanitizer][NFC] Set LargeMmapAllocator type from PrimaryAllocator 2019-05-01 19:41:54 +00:00
sanitizer_allocator_local_cache.h sanitizer_common: optimize memory drain 2021-07-13 16:28:48 -07:00
sanitizer_allocator_primary32.h sanitizer_common: fix 32-bit build 2021-07-12 14:03:13 +02:00
sanitizer_allocator_primary64.h [NFC][sanitizer] Simplify MapPackedCounterArrayBuffer 2021-07-13 18:16:28 -07:00
sanitizer_allocator_report.cpp [MemProf] Memory profiling runtime support 2020-10-16 09:47:02 -07:00
sanitizer_allocator_report.h [MemProf] Memory profiling runtime support 2020-10-16 09:47:02 -07:00
sanitizer_allocator_secondary.h sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
sanitizer_allocator_size_class_map.h [Sanitizer][NFC] Fix typo 2021-02-23 09:24:35 +00:00
sanitizer_allocator_stats.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_asm.h Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
sanitizer_atomic.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
sanitizer_atomic_clang.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
sanitizer_atomic_clang_mips.h [sanitizers] fix wrong enum of memory_order for mips 2021-03-09 11:28:45 +01:00
sanitizer_atomic_clang_other.h [sanitizer] Use __atomic_load/store() built-ins for generic 32-bit targets 2020-10-30 09:17:46 +01:00
sanitizer_atomic_clang_x86.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
sanitizer_atomic_msvc.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
sanitizer_bitvector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_bvgraph.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_chained_origin_depot.cpp [sanitizer] Move MSan's chained_origin_depot to sanitizer_common 2021-02-11 01:25:56 +00:00
sanitizer_chained_origin_depot.h [sanitizer] Move MSan's chained_origin_depot to sanitizer_common 2021-02-11 01:25:56 +00:00
sanitizer_common.cpp sanitizer_common: sanitize time functions 2021-07-11 12:09:47 +02:00
sanitizer_common.h tsan: lock ScopedErrorReportLock around fork 2021-07-15 21:00:11 +02:00
sanitizer_common_interceptors.inc [Sanitizer] Intercepts flopen/flopenat on FreeBSD. 2021-07-19 19:46:35 +01:00
sanitizer_common_interceptors_format.inc [msan] Support %ms in scanf. 2020-08-06 13:54:43 -07:00
sanitizer_common_interceptors_ioctl.inc libsanitizer: Remove cyclades inclusion in sanitizer 2021-05-20 18:55:26 +01:00
sanitizer_common_interceptors_netbsd_compat.inc [compiler-rt] [netbsd] Add support for versioned statvfs interceptors 2019-12-27 18:50:14 +01:00
sanitizer_common_interceptors_vfork_aarch64.inc.S [AArch64][compiler-rt] Fix PAC instructions for older compilers 2021-03-11 09:21:05 +00:00
sanitizer_common_interceptors_vfork_arm.inc.S [hwasan, asan] Intercept vfork. 2019-02-27 21:11:50 +00:00
sanitizer_common_interceptors_vfork_i386.inc.S [sanitizer] Fix vfork interceptor on i386 w/ dynamic runtime. 2019-02-28 19:21:25 +00:00
sanitizer_common_interceptors_vfork_riscv64.inc.S [RISCV][ASAN] implementation for vfork interceptor for riscv64 2020-09-22 22:23:29 -07:00
sanitizer_common_interceptors_vfork_x86_64.inc.S [sanitizer] Fix compilation errors in r355030. 2019-02-27 22:23:51 +00:00
sanitizer_common_interface.inc [sanitizer_common] Add facility to get the full report path 2020-11-19 09:19:12 -08:00
sanitizer_common_interface_posix.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_common_libcdep.cpp [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
sanitizer_common_nolibc.cpp sanitizer_common: sanitize time functions 2021-07-11 12:09:47 +02:00
sanitizer_common_syscalls.inc [RISCV][ASAN] support code for architecture-specific parts of asan 2020-10-04 15:21:48 +03:00
sanitizer_coverage_fuchsia.cpp [sanitizer_coverage][Fuchsia] Set ZX_PROP_VMO_CONTENT_SIZE 2020-03-19 19:12:06 -07:00
sanitizer_coverage_interface.inc [SanitizerCoverage] Add `__sanitizer_cov_bool_flag_init` as the weak interface functions. 2020-04-24 19:54:54 -07:00
sanitizer_coverage_libcdep_new.cpp [SanitizerCoverage] Add `__sanitizer_cov_bool_flag_init` as the weak interface functions. 2020-04-24 19:54:54 -07:00
sanitizer_coverage_win_dll_thunk.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_coverage_win_dynamic_runtime_thunk.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_coverage_win_sections.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
sanitizer_coverage_win_weak_interception.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_dbghelp.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_deadlock_detector.h [sanitizer_common] Remove some old commented-out printf statements, and fixed up the order of includes. 2019-04-24 23:03:32 +00:00
sanitizer_deadlock_detector1.cpp sanitizer_common: use 0 for empty stack id 2021-07-12 12:24:27 +02:00
sanitizer_deadlock_detector2.cpp sanitizer_common: rename Mutex to MutexState 2021-07-12 11:23:46 +02:00
sanitizer_deadlock_detector_interface.h [NFC] Fix cpplint warnings 2020-11-04 22:56:08 -08:00
sanitizer_errno.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_errno.h [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
sanitizer_errno_codes.h [msan] Skip memcpy interceptor called by gethostname 2020-09-25 15:26:34 -07:00
sanitizer_file.cpp [sanitizer] Add suffix to report file name 2021-02-04 13:50:11 -08:00
sanitizer_file.h [sanitizer_common] Add facility to get the full report path 2020-11-19 09:19:12 -08:00
sanitizer_flag_parser.cpp [SanitizerCommon] Print the current value of options when printing out help. 2019-11-14 14:04:34 -08:00
sanitizer_flag_parser.h [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_flags.cpp [asan] Add %d variable to external_symbolizer_path option, so that user can specify paths relative to the location of the binary. 2021-02-04 15:43:02 -08:00
sanitizer_flags.h [NFC] Extract InitializePlatformCommonFlags 2020-11-04 19:23:28 -08:00
sanitizer_flags.inc [sanitizer] Add suffix to report file name 2021-02-04 13:50:11 -08:00
sanitizer_freebsd.h [compiler-rt] clang-format FreeBSD-specific sanitizer sources 2020-02-06 22:48:08 +01:00
sanitizer_fuchsia.cpp sanitizer_common: add Semaphore 2021-07-16 19:34:24 +02:00
sanitizer_fuchsia.h [NFC][compiler-rt][fuchsia] Add InitShadowBounds declaration to header 2021-07-08 13:19:17 -07:00
sanitizer_getauxval.h Disable getauxval for Go 2020-07-31 10:13:03 -07:00
sanitizer_glibc_version.h compiler-rt: move all __GLIBC_PREREQ into own header file 2019-10-03 17:46:07 +00:00
sanitizer_hash.h Runtime flags for malloc bisection. 2019-02-15 18:38:14 +00:00
sanitizer_interceptors_ioctl_netbsd.inc [compiler-rt] Fix build on NetBSD 9.99.44 2020-01-31 14:57:20 +01:00
sanitizer_interface_internal.h [sanitizer_common] Add facility to get the full report path 2020-11-19 09:19:12 -08:00
sanitizer_internal_defs.h sanitizer_common: introduce kInvalidTid/kMainTid 2021-04-30 15:58:05 +02:00
sanitizer_lfstack.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_libc.cpp [compiler-rt] Remove some cpplint filters 2019-09-12 02:20:36 +00:00
sanitizer_libc.h sanitizer_common: sanitize time functions 2021-07-11 12:09:47 +02:00
sanitizer_libignore.cpp sanitizer_common: split LibIgnore into fast/slow paths 2021-07-11 11:34:15 +02:00
sanitizer_libignore.h sanitizer_common: split LibIgnore into fast/slow paths 2021-07-11 11:34:15 +02:00
sanitizer_linux.cpp [Sanitizers] FutexWake fix typo for FreeBSD code path. 2021-07-18 07:02:21 +01:00
sanitizer_linux.h [sanitizer] Simplify GetTls with dl_iterate_phdr on Linux and use it on musl/FreeBSD 2021-04-15 15:34:43 -07:00
sanitizer_linux_libcdep.cpp [sanitizer] Force TLS allocation on s390 2021-07-15 12:18:47 +02:00
sanitizer_linux_s390.cpp [compiler-rt] Use uname syscall in GetKernelAreaSize() 2020-03-26 13:35:09 +01:00
sanitizer_list.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_local_address_space_view.h [Sanitizers][NFC] Fix typo 2021-02-20 10:54:00 +00:00
sanitizer_mac.cpp sanitizer_common: add Semaphore 2021-07-16 19:34:24 +02:00
sanitizer_mac.h [darwin] use new crash reporter api 2021-02-23 09:23:23 -08:00
sanitizer_mac_libcdep.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_malloc_mac.inc [Sanitizer] Remove refactoring leftover [NFC] 2021-03-23 15:10:49 -07:00
sanitizer_mutex.cpp sanitizer_common: add Semaphore 2021-07-16 19:34:24 +02:00
sanitizer_mutex.h sanitizer_common: add new mutex 2021-07-20 08:19:57 +02:00
sanitizer_netbsd.cpp sanitizer_common: sanitize time functions 2021-07-11 12:09:47 +02:00
sanitizer_openbsd.cpp [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
sanitizer_persistent_allocator.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_persistent_allocator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_placement_new.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform.h [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
sanitizer_platform_interceptors.h [Sanitizer] Intercepts flopen/flopenat on FreeBSD. 2021-07-19 19:46:35 +01:00
sanitizer_platform_limits_freebsd.cpp [compiler-rt] Silence a deprecation warning on FreeBSD 2021-03-10 11:17:33 +00:00
sanitizer_platform_limits_freebsd.h [Sanitizers] Get link map on FreeBSD and NetBSD via documented API 2020-02-10 23:43:20 +01:00
sanitizer_platform_limits_linux.cpp [Sanitizers] Add support for RISC-V 64-bit 2019-10-23 14:12:52 +01:00
sanitizer_platform_limits_netbsd.cpp [compiler-rt] [netbsd] Include <sys/dkbad.h> 2020-09-17 16:35:39 +02:00
sanitizer_platform_limits_netbsd.h [compiler-rt] [netbsd] Improve code formatting 2020-09-10 19:38:57 +02:00
sanitizer_platform_limits_openbsd.cpp [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
sanitizer_platform_limits_openbsd.h [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
sanitizer_platform_limits_posix.cpp libsanitizer: Remove cyclades inclusion in sanitizer 2021-05-20 18:55:26 +01:00
sanitizer_platform_limits_posix.h [sanitizer] Fix __sanitizer_kernel_sigset_t endianness issue 2021-07-15 12:18:46 +02:00
sanitizer_platform_limits_solaris.cpp [compiler-rt] fix build on Illumos 2020-07-22 15:19:56 +01:00
sanitizer_platform_limits_solaris.h [compiler-rt] fix OpenBSD and Solaris build with sigaltstack interception 2020-02-04 15:50:59 -08:00
sanitizer_posix.cpp [sanitizer][NFC] Remove InternalScopedString::size() 2021-03-16 14:11:59 -07:00
sanitizer_posix.h [sanitizer] Define MAP_NORESERVE to 0 and hide mremap for FreeBSD 2021-03-27 12:18:58 -07:00
sanitizer_posix_libcdep.cpp sanitizer_common: sanitize time functions 2021-07-11 12:09:47 +02:00
sanitizer_printf.cpp [sanitizer] Fix VSNPrintf %V on Windows 2021-07-13 10:56:17 -07:00
sanitizer_procmaps.h [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
sanitizer_procmaps_bsd.cpp [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
sanitizer_procmaps_common.cpp [sanitizer][NFC] Remove InternalScopedString::size() 2021-03-16 14:11:59 -07:00
sanitizer_procmaps_fuchsia.cpp [sanitizer_common] Implement MemoryMappingLayout for Fuchsia 2020-01-24 16:35:43 -08:00
sanitizer_procmaps_linux.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_procmaps_mac.cpp [sanitizer][NFC] Remove InternalScopedString::size() 2021-03-16 14:11:59 -07:00
sanitizer_procmaps_solaris.cpp [sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl 2021-01-06 10:55:40 -08:00
sanitizer_ptrauth.h [AArch64][compiler-rt] Strip PAC from the link register. 2021-03-18 22:01:50 +01:00
sanitizer_quarantine.h sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
sanitizer_report_decorator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_ring_buffer.h hwasan: Teach the runtime to identify the local variable being accessed in UAR reports. 2019-06-27 23:16:13 +00:00
sanitizer_signal_interceptors.inc Fix sigaction interceptor to always correctly populate oldact 2020-08-12 10:11:56 -07:00
sanitizer_solaris.cpp sanitizer_common: add Semaphore 2021-07-16 19:34:24 +02:00
sanitizer_stackdepot.cpp Revert "[sanitizer_common] Recycle StackDepot memory" 2021-05-05 00:57:34 +00:00
sanitizer_stackdepot.h Revert "[sanitizer_common] Recycle StackDepot memory" 2021-05-05 00:57:34 +00:00
sanitizer_stackdepotbase.h Revert "[sanitizer_common] Recycle StackDepot memory" 2021-05-05 00:57:34 +00:00
sanitizer_stacktrace.cpp Revert "tsan: make obtaining current PC faster" 2021-07-15 19:29:19 -04:00
sanitizer_stacktrace.h tsan: make obtaining current PC faster 2021-07-19 13:05:30 +02:00
sanitizer_stacktrace_libcdep.cpp [sanitizer_common] Add StackTrace::PrintTo method 2021-05-20 19:39:38 -07:00
sanitizer_stacktrace_printer.cpp [sanitizer][NFC] Fix few cpplint warnings 2020-10-13 20:39:37 -07:00
sanitizer_stacktrace_printer.h [sanitizer] Skip stack symbolization when not required for print format 2020-10-07 15:38:52 -07:00
sanitizer_stacktrace_sparc.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_stoptheworld.h [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_stoptheworld_fuchsia.cpp [compiler-rt] Use empty SuspendedThreadsList for Fuchsia 2020-11-03 11:34:13 -08:00
sanitizer_stoptheworld_fuchsia.h [compiler-rt] Use empty SuspendedThreadsList for Fuchsia 2020-11-03 11:34:13 -08:00
sanitizer_stoptheworld_linux_libcdep.cpp [compiler-rt sanitizer] Use our own PTRACE_GETREGSET if it does not exist. 2020-12-09 01:08:14 -08:00
sanitizer_stoptheworld_mac.cpp [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_stoptheworld_netbsd_libcdep.cpp [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_suppressions.cpp [sanitizer][NFC] Remove InternalScopedString::size() 2021-03-16 14:11:59 -07:00
sanitizer_suppressions.h [UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is undefined behaviour 2019-10-10 09:25:02 +00:00
sanitizer_symbolizer.cpp [NFC] Introduce a `LateInitialize()` method to `SymbolizerTool` that is called during the LateInitialize stage of the sanitizer runtimes. 2020-04-16 17:25:58 -07:00
sanitizer_symbolizer.h [NFC] Introduce a `LateInitialize()` method to `SymbolizerTool` that is called during the LateInitialize stage of the sanitizer runtimes. 2020-04-16 17:25:58 -07:00
sanitizer_symbolizer_fuchsia.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_internal.h [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_symbolizer_libbacktrace.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_symbolizer_libbacktrace.h [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_symbolizer_libcdep.cpp [sanitizer] Fix crash on empty strings. 2021-01-27 13:22:43 -08:00
sanitizer_symbolizer_mac.cpp [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_symbolizer_mac.h [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
sanitizer_symbolizer_markup.cpp [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
sanitizer_symbolizer_posix_libcdep.cpp [compiler-rt] PR#39514 Support versioned llvm-symbolizer binaries 2021-03-11 18:29:06 -08:00
sanitizer_symbolizer_report.cpp tsan: lock ScopedErrorReportLock around fork 2021-07-15 21:00:11 +02:00
sanitizer_symbolizer_win.cpp [sanitizer] Remove max_len parameter from InternalScopedString 2021-03-17 16:57:09 -07:00
sanitizer_syscall_generic.inc [Sanitizers] Remove OpenBSD support (new attempt) 2020-10-20 11:16:09 +01:00
sanitizer_syscall_linux_aarch64.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_syscall_linux_arm.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_syscall_linux_riscv64.inc [NFC] Fix banner 2020-10-09 10:00:11 +01:00
sanitizer_syscall_linux_x86_64.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_syscalls_netbsd.inc [compiler-rt] [netbsd] Regenerate syscall hooks 2020-09-10 20:16:39 +02:00
sanitizer_termination.cpp sanitizer_common: deduplicate CheckFailed 2021-05-12 08:50:53 +02:00
sanitizer_thread_registry.cpp sanitizer_common: add simpler ThreadRegistry ctor 2021-07-13 22:52:25 -07:00
sanitizer_thread_registry.h tsan: lock ScopedErrorReportLock around fork 2021-07-15 21:00:11 +02:00
sanitizer_thread_safety.h tsan: lock ScopedErrorReportLock around fork 2021-07-15 21:00:11 +02:00
sanitizer_tls_get_addr.cpp [sanitizer] Make DTLS_on_tls_get_addr signal safer 2020-12-01 16:16:04 -08:00
sanitizer_tls_get_addr.h [sanitizer] Make DTLS_on_tls_get_addr signal safer 2020-12-01 16:16:04 -08:00
sanitizer_type_traits.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_type_traits.h Implement __sanitizer::conditional<B, T, F> 2019-04-26 18:22:55 +00:00
sanitizer_unwind_linux_libcdep.cpp Move SanitizerInitializeUnwinder outside anonymous namespace. 2019-10-02 22:57:37 +00:00
sanitizer_unwind_win.cpp [compiler-rt] [sanitizer] Silence -Wframe-larger-than= for a few windows functions with large stack buffers 2021-01-08 22:54:03 +02:00
sanitizer_vector.h Update compiler-rt cpplint.py 2019-09-11 21:33:06 +00:00
sanitizer_win.cpp [sanitizers] Fix building on case sensitive mingw platforms 2021-07-17 09:34:16 +03:00
sanitizer_win.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_win_defs.h [tsan, go] fix Go windows build 2019-10-07 23:11:07 +00:00
sanitizer_win_dll_thunk.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
sanitizer_win_dll_thunk.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_win_dynamic_runtime_thunk.cpp compiler-rt: Rename .cc file in lib/sanitizer_common to .cpp 2019-07-31 18:51:27 +00:00
sanitizer_win_weak_interception.cpp [sanitizer_common] Declare __sanitizer_on_print in Windows interception. 2019-10-02 22:00:29 +00:00
sanitizer_win_weak_interception.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
weak_symbols.txt