llvm-project/compiler-rt/lib/sanitizer_common
Etienne Bergeron fb5a24b4f0 [compiler-rt] Fix minimal stack reserved for unittest on MSVC build
Summary:
Some unittest were not able to run in 64-bit because they need more than
2MB of stack and the default allocated stack with MSVC linker is 1MB.

Reviewers: rnk

Subscribers: wang0109, chrisha, llvm-commits, kubabrecka

Differential Revision: http://reviews.llvm.org/D22101

llvm-svn: 274785
2016-07-07 18:41:08 +00:00
..
scripts [ASAN] Use struct instead of array in sancov.py 2016-04-22 09:20:22 +00:00
tests [compiler-rt] Fix minimal stack reserved for unittest on MSVC build 2016-07-07 18:41:08 +00:00
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
.clang-tidy fixed clang-tidy config 2016-01-25 19:43:55 +00:00
CMakeLists.txt [sanitizer][esan] Add internal_sigaction_syscall 2016-06-14 15:15:38 +00:00
sanitizer_addrhashmap.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_allocator.cc [tsan] Switch to InternalAlloc everywhere __libc_malloc is currently used 2016-06-06 18:18:47 +00:00
sanitizer_allocator.h [compiler-rt] Fix sanitizer memory allocator on win64. 2016-07-07 17:44:08 +00:00
sanitizer_allocator_interface.h [sanitizers] introduce yet another API function: __sanitizer_install_malloc_and_free_hooks 2016-06-16 20:06:06 +00:00
sanitizer_allocator_internal.h [tsan] Switch to InternalAlloc everywhere __libc_malloc is currently used 2016-06-06 18:18:47 +00:00
sanitizer_asm.h [tsan] Port tsan_rtl_amd64.S to OS X to add support for setjmp/longjmp 2015-11-28 12:44:23 +00:00
sanitizer_atomic.h tsan: speed up race deduplication 2015-09-03 11:20:46 +00:00
sanitizer_atomic_clang.h
sanitizer_atomic_clang_other.h [sanitizer] fix for ARM Linux, patch by Maxim Ostapenko 2014-05-13 08:01:59 +00:00
sanitizer_atomic_clang_x86.h
sanitizer_atomic_msvc.h [asan Win64] Implement atomic_compare_exchange_strong for 8 bit 2016-07-06 16:33:57 +00:00
sanitizer_bitvector.h Revert "Apply modernize-use-default to compiler-rt." 2015-10-30 18:52:31 +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 [sanitizer] Stop unwinding the stack when a close-to-zero PC is found 2016-06-27 15:32:18 +00:00
sanitizer_common.h [sanitizer] Stop unwinding the stack when a close-to-zero PC is found 2016-06-27 15:32:18 +00:00
sanitizer_common_interceptors.inc [msan] Fix handling of padding in sendmsg control data. 2016-06-28 22:42:31 +00:00
sanitizer_common_interceptors_format.inc [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_common_interceptors_ioctl.inc [asan] Add iOS support. 2016-02-02 02:01:17 +00:00
sanitizer_common_libcdep.cc [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_common_nolibc.cc Fixup for r269288. SleepForSeconds is not available in nolibc builds, let's add an internal_sleep. 2016-05-12 14:08:56 +00:00
sanitizer_common_syscalls.inc [sanitizer] Add syscall handlers for sigaction and rt_sigaction. 2016-06-24 23:09:44 +00:00
sanitizer_coverage_libcdep.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_coverage_mapping_libcdep.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_deadlock_detector.h tsan: fix deadlock reporting 2014-12-18 14:05:34 +00:00
sanitizer_deadlock_detector1.cc [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10 2016-05-21 08:31:13 +00:00
sanitizer_deadlock_detector2.cc tsan: remove unnecessary line split 2014-07-08 13:07:23 +00:00
sanitizer_deadlock_detector_interface.h [tsan] Don't abort when a deadlock detector finds a mutex cycle longer than 10 2016-05-21 08:31:13 +00:00
sanitizer_flag_parser.cc [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flag_parser.h [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
sanitizer_flags.cc [sancov] common flags initialization. 2016-03-18 19:28:07 +00:00
sanitizer_flags.h [sancov] common flags initialization. 2016-03-18 19:28:07 +00:00
sanitizer_flags.inc Hide send/sendto/sendmsg interptors under a flag. 2016-06-20 17:57:51 +00:00
sanitizer_freebsd.h Support getting process maps for sanitizers needs on FreeBSD in 32-bit mode 2014-08-08 06:21:09 +00:00
sanitizer_interface_internal.h Add __sanitizer_set_report_fd to the internal list of symbols. 2016-05-30 09:39:47 +00:00
sanitizer_internal_defs.h Fix some warnings in the MSVC build 2016-06-17 17:48:52 +00:00
sanitizer_lfstack.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_libc.cc Fix warnings uncovered by building with clang-cl 2016-04-01 17:09:12 +00:00
sanitizer_libc.h Fixup for r269288. SleepForSeconds is not available in nolibc builds, let's add an internal_sleep. 2016-05-12 14:08:56 +00:00
sanitizer_libignore.cc Reapply r251918 ("[tsan] Fix build errors for TSan on OS X"). 2015-11-03 14:33:39 +00:00
sanitizer_libignore.h [Sanitizer] Drop LibIgnore dependency on SuppressionContext. NFC. 2015-02-19 22:56:49 +00:00
sanitizer_linux.cc [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
sanitizer_linux.h [sanitizer][esan] Add internal_sigaction_syscall 2016-06-14 15:15:38 +00:00
sanitizer_linux_libcdep.cc [sanitizer] [SystemZ] Enable TLS functionality. 2016-06-17 20:24:32 +00:00
sanitizer_linux_s390.cc [sanitizers] [SystemZ] Mark kernel 3.12.58+ as safe from CVE-2016-2143. 2016-04-29 14:59:19 +00:00
sanitizer_linux_x86_64.S [sanitizer][esan] Add internal_sigaction_syscall 2016-06-14 15:15:38 +00:00
sanitizer_list.h Unbreak Windows build. 2016-01-15 02:51:26 +00:00
sanitizer_mac.cc More fixup for r269288 and r269296. Adding the missing 'return'. 2016-05-12 16:58:19 +00:00
sanitizer_mac.h [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_malloc_mac.inc [libsanitizer] Fix bugs and wiki links to point to GitHub. 2015-12-04 17:50:03 +00:00
sanitizer_mutex.h [Sanitizer] Make BlockingMutex really linker initialized. 2015-01-30 06:20:43 +00:00
sanitizer_persistent_allocator.cc [msan] Chained origins re-design. 2014-05-21 09:02:13 +00:00
sanitizer_persistent_allocator.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_placement_new.h
sanitizer_platform.h This patch attempts to primitive support for Win64 asan 2016-06-06 18:09:54 +00:00
sanitizer_platform_interceptors.h [msan] Intercept eventfd_read, eventfd_write. 2016-06-24 23:32:30 +00:00
sanitizer_platform_limits_linux.cc [compiler-rt] adjust platform_limits_linux.cc #include of posix_types 2016-05-02 19:10:48 +00:00
sanitizer_platform_limits_posix.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_platform_limits_posix.h [sanitizer] Revert new GLIBC msghdr/cmsghdr definitions 2016-06-14 15:22:37 +00:00
sanitizer_posix.cc [sanitizer] [SystemZ] Add virtual space size. 2016-04-14 12:56:15 +00:00
sanitizer_posix.h [esan|wset] Ensure SIGSEGV is not blocked 2016-07-06 21:04:48 +00:00
sanitizer_posix_libcdep.cc [esan] Add handling of large stack size rlimits 2016-05-28 00:25:16 +00:00
sanitizer_printf.cc [sanitizers] Log all output to CrashReport on OS X 2016-01-06 23:15:01 +00:00
sanitizer_procmaps.h [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_procmaps_common.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_procmaps_freebsd.cc Support getting process maps for sanitizers needs on FreeBSD in 32-bit mode 2014-08-08 06:21:09 +00:00
sanitizer_procmaps_linux.cc [libsanitizer] Fix bugs and wiki links to point to GitHub. 2015-12-04 17:50:03 +00:00
sanitizer_procmaps_mac.cc [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules(). 2016-02-22 18:52:51 +00:00
sanitizer_quarantine.h asan: fix build 2016-04-14 11:40:08 +00:00
sanitizer_report_decorator.h [Sanitizer] Merge AnsiColorDecorator and SanitizerCommonDecorator, use the latter in UBSan 2014-06-13 23:46:37 +00:00
sanitizer_stackdepot.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_stackdepot.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_stackdepotbase.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_stacktrace.cc Adding a comment to explain r273886 ("Stop unwinding the stack when a close-to-zero PC is found"). NFC. 2016-06-28 12:53:20 +00:00
sanitizer_stacktrace.h [LSAN] Fix test swapcontext.cc on MIPS 2016-05-18 06:09:26 +00:00
sanitizer_stacktrace_libcdep.cc [sanitizers] introduce a common run-time option dedup_token_length to help with report deduplication, off by default for now. See https://github.com/google/sanitizers/issues/684 2016-05-28 01:25:44 +00:00
sanitizer_stacktrace_printer.cc [sanitizer_common] Apply modernize-use-nullptr, other minor fixes 2015-09-30 23:52:54 +00:00
sanitizer_stacktrace_printer.h [sanitizer_common] Added VS-style output for source locations 2015-06-04 01:20:06 +00:00
sanitizer_stoptheworld.h asan: fix comment formatting 2015-03-06 08:43:44 +00:00
sanitizer_stoptheworld_linux_libcdep.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_suppressions.cc [TSan] Try harder to avoid compiler-generated memset calls. 2015-12-09 18:48:10 +00:00
sanitizer_suppressions.h [UBSan] Implement runtime suppressions (PR25066). 2015-12-18 19:56:42 +00:00
sanitizer_symbolizer.cc tsan: describe heap/data locations in Go 2016-03-01 15:38:12 +00:00
sanitizer_symbolizer.h [sanitizer] Fix a crash when demangling Swift symbols, take 2 2016-05-12 13:11:03 +00:00
sanitizer_symbolizer_internal.h [sanitizers] Teach the internal demangler about Swift names 2016-04-15 23:51:00 +00:00
sanitizer_symbolizer_libbacktrace.cc Symbolizer refactoring: Turn FillAddressAndModuleInfo into FillModuleInfo 2015-03-03 09:18:44 +00:00
sanitizer_symbolizer_libbacktrace.h Provide missing Internal{Alloc, Free} declarations for libbacktrace symbolizer. 2015-10-07 23:13:28 +00:00
sanitizer_symbolizer_libcdep.cc [sanitizer] [SystemZ] Add ptrace support bits. 2016-04-26 10:41:30 +00:00
sanitizer_symbolizer_mac.cc [sanitizers] Teach the internal demangler about Swift names 2016-04-15 23:51:00 +00:00
sanitizer_symbolizer_mac.h Adding the implementation of atos and dladdr symbolizers for OS X. 2015-03-12 10:53:18 +00:00
sanitizer_symbolizer_posix_libcdep.cc [sanitizer] Allow nullptr in Swift demangler 2016-05-12 15:54:33 +00:00
sanitizer_symbolizer_win.cc [sanitizer] Fix a crash when demangling Swift symbols, take 2 2016-05-12 13:11:03 +00:00
sanitizer_syscall_generic.inc Unix/BSD system calls are prefixed with SYS_ on FreeBSD and Mac 2015-02-22 22:01:09 +00:00
sanitizer_syscall_linux_aarch64.inc [compiler-rt] [sanitizers] Add aarch64 syscall optimization support 2015-08-21 14:50:36 +00:00
sanitizer_syscall_linux_x86_64.inc [FreeBSD] Port sanitizers' syscalls. 2014-03-07 10:03:54 +00:00
sanitizer_termination.cc [sanitizer] Move termination functions in their own file 2016-05-27 21:57:17 +00:00
sanitizer_thread_registry.cc [sanitizer] Don't reuse the main thread in ThreadRegistry 2016-05-02 15:06:08 +00:00
sanitizer_thread_registry.h [sanitizer] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards. Patch by Eugene Zelenko 2015-09-29 18:23:36 +00:00
sanitizer_tls_get_addr.cc [Compiler-rt][MIPS] Correct Dynamic Thread Vector offset for MIPS 2016-03-01 05:56:33 +00:00
sanitizer_tls_get_addr.h [sanitizer] Recognize static TLS in __tls_get_addr interceptor. 2015-05-16 00:34:15 +00:00
sanitizer_unwind_linux_libcdep.cc Adding a comment to explain r273886 ("Stop unwinding the stack when a close-to-zero PC is found"). NFC. 2016-06-28 12:53:20 +00:00
sanitizer_win.cc [compiler-rt] Fix sanitizer memory allocator on win64. 2016-07-07 17:44:08 +00:00