hanchenye-llvm-project/compiler-rt/lib/sanitizer_common
Alexey Samsonov 78a8435fd6 [CMake] Rename add_compiler_rt_static_runtime to add_compiler_rt_runtime.
Soon there will be an option to build compiler-rt parts as shared libraries
on Linux. Extracted from http://llvm-reviews.chandlerc.com/D3042
by Yuri Gribov.

llvm-svn: 205183
2014-03-31 13:45:36 +00:00
..
scripts fixed check_lint.sh in standalone build 2014-03-21 00:45:21 +00:00
tests [sanitizer] speed up the bitvector-based deadlock detector by ~15% (iterate over the currently held locks using the array, not the bitvector. Bitvector is not the best data structure to iterate over) 2014-03-31 07:23:50 +00:00
CMakeLists.txt [CMake] Rename add_compiler_rt_static_runtime to add_compiler_rt_runtime. 2014-03-31 13:45:36 +00:00
Makefile.mk
sanitizer_addrhashmap.h tsan: addrhashmap: fix bug with initialization of addresses in add array 2014-03-18 12:52:11 +00:00
sanitizer_allocator.cc tsan: allow to force use of __libc_malloc in sanitizer_common 2014-02-28 14:46:53 +00:00
sanitizer_allocator.h [sanitizer] revert r200197: the buggy kernel (https://bugzilla.kernel.org/show_bug.cgi?id=67651) is almost unusable with asan even with this workaround (too slow), so this workaround makes no sense. The asan/msan bootstrap bot was changed to use a non-buggy kernel 2014-01-27 13:05:09 +00:00
sanitizer_allocator_internal.h tsan: add new line at the end of error message 2014-02-28 06:29:42 +00:00
sanitizer_asm.h [sanitizer] support toolchains that don't understand CFI directives 2013-12-05 07:44:35 +00:00
sanitizer_atomic.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_clang.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_clang_other.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_clang_x86.h asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_atomic_msvc.h tsan: add another missing windows atomic operation 2014-03-04 14:21:42 +00:00
sanitizer_bitvector.h Fix MSVS warnings in the sanitizers RTL 2014-03-12 14:09:25 +00:00
sanitizer_bvgraph.h [sanitizer] speed up the bitvector-based deadlock detector by ~15% (iterate over the currently held locks using the array, not the bitvector. Bitvector is not the best data structure to iterate over) 2014-03-31 07:23:50 +00:00
sanitizer_common.cc Reapply r201910. MSVC gets __func__ defined explicitly, even though it 2014-02-26 20:33:22 +00:00
sanitizer_common.h tsan: include what you use 2014-03-05 13:40:05 +00:00
sanitizer_common_interceptors.inc [sanitizer] Intercept fgetpwent / fgetgrent. 2014-03-28 13:03:55 +00:00
sanitizer_common_interceptors_format.inc Support 'q' length modifier in scanf/printf interceptors 2014-02-26 14:42:38 +00:00
sanitizer_common_interceptors_ioctl.inc [sanitizer] Implement ioctl decoding. 2014-02-05 19:35:24 +00:00
sanitizer_common_libcdep.cc [sanitizer] Add a flag to enable/disable report colorization. 2014-02-26 09:06:59 +00:00
sanitizer_common_syscalls.inc [sanitizer] Intercept capget()/capset(). 2014-02-12 19:29:49 +00:00
sanitizer_coverage.cc [asan] Avoid deadlock in CovDump. 2014-02-13 08:50:36 +00:00
sanitizer_deadlock_detector.h [sanitizer] speed up the bitvector-based deadlock detector by ~15% (iterate over the currently held locks using the array, not the bitvector. Bitvector is not the best data structure to iterate over) 2014-03-31 07:23:50 +00:00
sanitizer_deadlock_detector1.cc [sanitizer] print threads in deadlock report 2014-03-21 13:00:18 +00:00
sanitizer_deadlock_detector2.cc tsan: fix copy-pasted comment 2014-03-19 13:19:39 +00:00
sanitizer_deadlock_detector_interface.h [sanitizer] print threads in deadlock report 2014-03-21 13:00:18 +00:00
sanitizer_flags.cc Fix a VS compile-time warning 2014-03-24 10:47:37 +00:00
sanitizer_flags.h [libsanitizer] Add descriptions for the common flags. 2014-03-21 17:28:12 +00:00
sanitizer_interception.h [sanitizer] Add missing file comment. 2013-12-20 13:13:49 +00:00
sanitizer_internal_defs.h [asan] Don't disable SEGV handler on Android by default. 2014-02-27 08:23:00 +00:00
sanitizer_lfstack.h
sanitizer_libc.cc tsan: fix windows build 2014-02-04 17:27:29 +00:00
sanitizer_libc.h [ASan] Move the SIGSEGV/SIGBUS handling to sanitizer_common 2014-01-31 13:10:07 +00:00
sanitizer_libignore.cc [sanitizer] Introduce VReport and VPrintf macros and use them in sanitizer code. 2013-12-05 12:04:51 +00:00
sanitizer_libignore.h tsan: resolve symlinks for called_from_lib suppressions 2013-10-15 11:34:59 +00:00
sanitizer_linux.cc Remove sanitizer_linux_libcdep.cc from TSan-Go build 2014-03-07 13:17:32 +00:00
sanitizer_linux.h [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_linux_libcdep.cc A fix for sanitizers' TLS support on FreeBSD 2014-03-24 10:01:54 +00:00
sanitizer_list.h [libsanitizer] Implement IntrusiveList<T>::Iterator, use IntrusiveList in sanitizer_flags.cc 2014-03-20 13:49:21 +00:00
sanitizer_mac.cc tsan: yet another attempt to fix pthread_cond interceptors 2014-03-17 07:51:53 +00:00
sanitizer_mac.h [libsanitizer] Follow-up for r200700: add the new header to CMakeLists.txt and make it empty on non-Mac. 2014-02-03 15:45:03 +00:00
sanitizer_mutex.h tsan: better addr->object hashmap 2014-03-18 08:30:14 +00:00
sanitizer_placement_new.h Introduce an operator new for LowLevelAllocator, and convert most users to it. 2013-10-24 06:23:39 +00:00
sanitizer_platform.h [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_platform_interceptors.h [sanitizer] Intercept fgetpwent / fgetgrent. 2014-03-28 13:03:55 +00:00
sanitizer_platform_limits_linux.cc [sanitizer] AArch64 sanitizer support; patch by Christophe Lyon and Yvan Roux 2014-02-13 07:50:20 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] Intercept fgetpwent / fgetgrent. 2014-03-28 13:03:55 +00:00
sanitizer_platform_limits_posix.h [sanitizer] Fix Mac build. 2014-03-28 14:01:40 +00:00
sanitizer_posix.cc [asan] Do not sanitize kernel area on 32-bit targets, patch by Yuri Gribov 2014-03-27 07:36:26 +00:00
sanitizer_posix_libcdep.cc A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_printf.cc [asan] Android logging. 2014-01-23 11:34:41 +00:00
sanitizer_procmaps.h [FreeBSD] Enable procmaps on FreeBSD. 2014-03-06 08:58:24 +00:00
sanitizer_procmaps_linux.cc A set of trivial changes to support sanitizers on FreeBSD. 2014-03-04 08:55:41 +00:00
sanitizer_procmaps_mac.cc [Sanitizer] Remove now unused symbolization functionality from MemoryMappingLayout 2013-12-25 12:11:06 +00:00
sanitizer_quarantine.h [asan] count the size of QuarantineBatch in the total Quarantine size; make QuarantineBatch fit into 8K, fix a MSVC compile warning 2013-10-21 08:36:10 +00:00
sanitizer_report_decorator.h [sanitizer] Add a flag to enable/disable report colorization. 2014-02-26 09:06:59 +00:00
sanitizer_stackdepot.cc
sanitizer_stackdepot.h
sanitizer_stacktrace.cc Increase threshold in StackTrace::LocatePcInTrace 2014-03-05 08:29:56 +00:00
sanitizer_stacktrace.h [sanitizer] AArch64 sanitizer support; patch by Christophe Lyon and Yvan Roux 2014-02-13 07:50:20 +00:00
sanitizer_stacktrace_libcdep.cc Avoid doing any work when unwinding stack traces with 0 or 1 frame 2014-03-04 12:21:28 +00:00
sanitizer_stoptheworld.h
sanitizer_stoptheworld_linux_libcdep.cc Make signal-related functions use __sanitizer_* structures instead of __sanitizer_kernel_* ones. 2014-01-31 11:29:51 +00:00
sanitizer_suppressions.cc [sanitizer] deadlock detector: a) initial support for suppressions, b) be more robust in case we failed to extract a stack trace for one of the locks 2014-03-19 12:26:33 +00:00
sanitizer_suppressions.h [sanitizer] deadlock detector: a) initial support for suppressions, b) be more robust in case we failed to extract a stack trace for one of the locks 2014-03-19 12:26:33 +00:00
sanitizer_symbolizer.cc [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan. 2013-10-31 21:44:07 +00:00
sanitizer_symbolizer.h [Sanitizer] Add Symbolizer::GetModuleNameAndOffsetForPC() and use it in LSan suppression matching. 2013-12-25 20:15:46 +00:00
sanitizer_symbolizer_libbacktrace.cc [Sanitizer] Add basic support for using libbacktrace in symbolizer. 2014-01-16 13:48:15 +00:00
sanitizer_symbolizer_libbacktrace.h tsan: add include guards 2014-02-28 14:46:05 +00:00
sanitizer_symbolizer_libcdep.cc [Sanitizer] Use SpinMutex for Symbolizer initialization (per dvyukov's suggestion) 2013-10-30 17:05:37 +00:00
sanitizer_symbolizer_posix_libcdep.cc Revert "[asan] Make __cxa_demangle non-weak symbol on Android." 2014-03-11 20:23:59 +00:00
sanitizer_symbolizer_win.cc [Sanitizer] Add Symbolizer::GetModuleNameAndOffsetForPC() and use it in LSan suppression matching. 2013-12-25 20:15:46 +00:00
sanitizer_syscall_generic.inc [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_syscall_linux_x86_64.inc [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_thread_registry.cc tsan: improve error message for Go 2014-02-06 09:22:29 +00:00
sanitizer_thread_registry.h tsan/asan: support pthread_setname_np to set thread names 2013-10-29 10:30:39 +00:00
sanitizer_tls_get_addr.cc tsan: another attempt to fix the tls_get_addr crash 2014-02-27 15:07:45 +00:00
sanitizer_tls_get_addr.h [asan] experimental intercetor for __tls_get_addr. So far it does nothing interesting, actual usage will come later. See https://groups.google.com/forum/#!topic/address-sanitizer/BfwYD8HMxTM for background 2014-01-29 09:29:16 +00:00
sanitizer_win.cc [ASan] Print mmap errno/GetLastError in a readable and consistent way 2014-03-19 08:23:00 +00:00