llvm-project/compiler-rt/lib/sanitizer_common
Dmitry Vyukov baf2f35ec4 sanitizers: Introduce ThreadType enum
Replace bool workerthread flag with ThreadType enum.
This change is preparation for fiber support.

[dvyukov: fixed build of sanitizer_thread_registry_test.cc]

Author: yuri (Yuri Per)
Reviewed in: https://reviews.llvm.org/D57839
Context: https://reviews.llvm.org/D54889

llvm-svn: 353390
2019-02-07 11:01:22 +00:00
..
scripts Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
symbolizer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tests sanitizers: Introduce ThreadType enum 2019-02-07 11:01:22 +00:00
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
.clang-tidy [sanitizers] specifying style for global constant 2016-11-17 21:57:43 +00:00
CMakeLists.txt Make compiler-rt CMakeLists.txt formatting a bit more like LLVM's usual formatting 2019-01-16 18:12:45 +00:00
sancov_begin.S [Sanitizers, CMake] Basic sanitizer Solaris support (PR 33274) 2017-12-22 18:04:20 +00:00
sancov_end.S [Sanitizers, CMake] Basic sanitizer Solaris support (PR 33274) 2017-12-22 18:04:20 +00:00
sancov_flags.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_checks.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_combined.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_local_cache.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_primary32.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_primary64.h [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
sanitizer_allocator_report.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_report.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_allocator_secondary.h Make more allocator methods work correctly with in an out-of-process mode. 2019-01-27 22:45:11 +00:00
sanitizer_allocator_size_class_map.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_atomic.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_atomic_clang.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_atomic_clang_mips.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_atomic_clang_other.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_atomic_clang_x86.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_atomic_msvc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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_common.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_common.h [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
sanitizer_common_interceptors.inc [sanitizer] Remove unneeded pointer check 2019-02-07 01:54:59 +00:00
sanitizer_common_interceptors_format.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_common_interceptors_ioctl.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_common_interface.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_common_nolibc.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_common_syscalls.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_coverage_fuchsia.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_coverage_interface.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_coverage_libcdep_new.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_coverage_win_dll_thunk.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_coverage_win_dynamic_runtime_thunk.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_coverage_win_sections.cc [libFuzzer][MSVC] Make Sanitizer Coverage MSVC-compatible 2019-01-21 02:15:29 +00:00
sanitizer_coverage_win_weak_interception.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_deadlock_detector1.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_deadlock_detector2.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_deadlock_detector_interface.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_errno.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_errno.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_errno_codes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_file.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_file.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_flag_parser.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_flag_parser.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_flags.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_flags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_flags.inc [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
sanitizer_freebsd.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_fuchsia.cc [sanitizer] Fix fuchsia and windows build. 2019-02-06 01:58:23 +00:00
sanitizer_fuchsia.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_getauxval.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_interceptors_ioctl_netbsd.inc Update the ioctl(2) list in sanitizers with NetBSD 8.99.34 2019-02-05 22:20:25 +00:00
sanitizer_interface_internal.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_internal_defs.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_libc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_libignore.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_libignore.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_linux.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_linux.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_linux_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_linux_mips64.S Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
sanitizer_linux_s390.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_linux_x86_64.S Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_mac.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_mac.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_mac_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_malloc_mac.inc On Darwin add allocator address and size fields to 2019-01-21 01:41:08 +00:00
sanitizer_mutex.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_netbsd.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_openbsd.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_persistent_allocator.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Revert https://reviews.llvm.org/D56485. 2019-01-24 08:46:06 +00:00
sanitizer_platform_interceptors.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_freebsd.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_freebsd.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_linux.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_netbsd.cc Update the ioctl(2) list in sanitizers with NetBSD 8.99.34 2019-02-05 22:20:25 +00:00
sanitizer_platform_limits_netbsd.h Update the ioctl(2) list in sanitizers with NetBSD 8.99.34 2019-02-05 22:20:25 +00:00
sanitizer_platform_limits_openbsd.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_openbsd.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_posix.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_posix.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_solaris.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_platform_limits_solaris.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_posix.cc [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
sanitizer_posix.h [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
sanitizer_posix_libcdep.cc [sanitizer] Decorate /proc/self/maps better. 2019-02-06 01:14:50 +00:00
sanitizer_printf.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_procmaps.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_procmaps_bsd.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_procmaps_common.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_procmaps_linux.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_procmaps_mac.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_procmaps_solaris.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_quarantine.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_rtems.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_rtems.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_signal_interceptors.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_solaris.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stackdepot.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stackdepot.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stackdepotbase.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stacktrace.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stacktrace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stacktrace_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stacktrace_printer.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stacktrace_printer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stacktrace_sparc.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stoptheworld.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stoptheworld_linux_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_stoptheworld_mac.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_suppressions.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_suppressions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_libbacktrace.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_libbacktrace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_mac.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_mac.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_markup.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_posix_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_report.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_rtems.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_symbolizer_win.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_syscall_generic.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_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_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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_termination.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_thread_registry.cc sanitizers: Introduce ThreadType enum 2019-02-07 11:01:22 +00:00
sanitizer_thread_registry.h sanitizers: Introduce ThreadType enum 2019-02-07 11:01:22 +00:00
sanitizer_tls_get_addr.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_tls_get_addr.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_type_traits.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_type_traits.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_unwind_linux_libcdep.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_unwind_win.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_vector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_win.cc [sanitizer] Fix fuchsia and windows build. 2019-02-06 01:58:23 +00: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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_win_dll_thunk.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sanitizer_win_weak_interception.cc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 [sanitizer] Define as weak, functions that are declared as weak. 2017-01-31 20:23:14 +00:00