llvm-project/compiler-rt/lib/sanitizer_common
Hans Wennborg 67c6e5041b cmake: fix the compiler-rt build with MSVC
This sets flags and excludes things that aren't working with MSVC yet,
allowing us to build the ASan runtime as part of the cmake build.

Differential Revision: http://llvm-reviews.chandlerc.com/D1525

llvm-svn: 189304
2013-08-27 01:24:01 +00:00
..
scripts Slightly improve lint checker script and fix a few style issues 2013-08-23 07:43:56 +00:00
tests [sanitizer] Add a fast version of StackDepotGet() for use in LSan. 2013-08-26 13:24:43 +00:00
CMakeLists.txt cmake: fix the compiler-rt build with MSVC 2013-08-27 01:24:01 +00:00
Makefile.mk
sanitizer_allocator.cc [sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build. 2013-05-29 10:41:53 +00:00
sanitizer_allocator.h tsan: better diagnostics for invalid addresses passed to free() 2013-08-08 13:47:50 +00:00
sanitizer_allocator_internal.h [sanitizer] Use raw check in internal allocator to prevent self-deadlocks. Try to fix Windows build. 2013-05-29 10:41:53 +00:00
sanitizer_atomic.h [ASan] cmake cleanup: make tab/space padding in CMakeLists consistent, silence/fix some pedantic warnings 2012-07-02 06:48:10 +00:00
sanitizer_atomic_clang.h [Sanitizer] Add basic test for atomic_compare_exchange implementation 2013-03-25 08:48:16 +00:00
sanitizer_atomic_msvc.h [ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler warning 2013-05-23 11:40:51 +00:00
sanitizer_common.cc [sanitizer] Handle Die() in StopTheWorld. 2013-08-26 13:20:31 +00:00
sanitizer_common.h [sanitizer] Add a fast version of StackDepotGet() for use in LSan. 2013-08-26 13:24:43 +00:00
sanitizer_common_interceptors.inc Slightly improve lint checker script and fix a few style issues 2013-08-23 07:43:56 +00:00
sanitizer_common_interceptors_ioctl.inc Revert r188369 (and r188455) which breaks the build on at least some 2013-08-18 08:47:06 +00:00
sanitizer_common_interceptors_scanf.inc [sanitizer] Fix handling of %n in scanf interceptor. 2013-08-09 12:58:35 +00:00
sanitizer_common_libcdep.cc Fix MSVC W3 compiler warnings 2013-05-29 14:11:44 +00:00
sanitizer_common_syscalls.inc [libsanitizer] Drive-by fix for -Wempty-body in sanitizer_common_syscalls.inc 2013-08-06 14:07:46 +00:00
sanitizer_flags.cc [lsan] Add leak_check_at_exit flag. 2013-08-01 14:57:07 +00:00
sanitizer_flags.h [lsan] Add leak_check_at_exit flag. 2013-08-01 14:57:07 +00:00
sanitizer_internal_defs.h [*San/RTL] Fix minor breakage 2013-08-13 12:03:51 +00:00
sanitizer_lfstack.h [Sanitizer] update style checker script and fix namespace style warnings 2013-01-30 07:45:58 +00:00
sanitizer_libc.cc Make InternalAlloc/InternalFree in sanitizer runtimes libc-free by switching to a custom allocator. 2013-05-29 09:15:39 +00:00
sanitizer_libc.h [nolibc] Move all platforms to internal_getpid. 2013-05-17 16:56:53 +00:00
sanitizer_linux.cc Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used 2013-08-13 11:42:45 +00:00
sanitizer_linux.h Move UnpoisonMappedDSO to sanitizer_common. 2013-07-29 19:09:49 +00:00
sanitizer_linux_libcdep.cc It appears that glibc 2.13 has the same thread descriptor size as 2.11, 2013-08-18 10:04:51 +00:00
sanitizer_list.h asan/tsan: fix bug in list implementation 2013-01-11 10:15:13 +00:00
sanitizer_mac.cc tsan: fix darwin Go crashes 2013-06-06 13:20:40 +00:00
sanitizer_mutex.h [Sanitizer] Add default constructor for BlockingMutex 2013-03-14 13:30:56 +00:00
sanitizer_placement_new.h [sanitizer] Replace more platform checks with SANITIZER_ constants. 2013-03-19 14:33:38 +00:00
sanitizer_platform.h [sanitizer] Replace more platform checks with SANITIZER_ constants. 2013-03-19 14:33:38 +00:00
sanitizer_platform_interceptors.h [sanitizer] Intercept poll/ppoll. 2013-08-12 13:19:53 +00:00
sanitizer_platform_limits_posix.cc Revert r188369 (and r188455) which breaks the build on at least some 2013-08-18 08:47:06 +00:00
sanitizer_platform_limits_posix.h Revert r188369 (and r188455) which breaks the build on at least some 2013-08-18 08:47:06 +00:00
sanitizer_posix.cc [ASan] Use less shadow on Win 32-bit 2013-07-16 09:47:39 +00:00
sanitizer_posix_libcdep.cc [sanitizer] Do not fall back to SlowUnwindStack() in GetStackTrace() 2013-06-06 14:19:36 +00:00
sanitizer_printf.cc Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used 2013-08-13 11:42:45 +00:00
sanitizer_procmaps.h [Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines 2013-04-03 07:24:35 +00:00
sanitizer_quarantine.h Fix MSVC warnings at the -W2 level 2013-05-29 12:03:49 +00:00
sanitizer_report_decorator.h [ASan/RTL] Disable colored reporting on Windows 2013-08-16 11:26:26 +00:00
sanitizer_stackdepot.cc [sanitizer] Add a fast version of StackDepotGet() for use in LSan. 2013-08-26 13:24:43 +00:00
sanitizer_stackdepot.h [sanitizer] Add a fast version of StackDepotGet() for use in LSan. 2013-08-26 13:24:43 +00:00
sanitizer_stacktrace.cc [sanitizer] Change strip_path_prefix flag behavior. 2013-07-22 16:14:38 +00:00
sanitizer_stacktrace.h Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used 2013-08-13 11:42:45 +00:00
sanitizer_stoptheworld.h [Sanitizer] Rename InternalVector to InternalMmapVector 2013-06-14 09:59:40 +00:00
sanitizer_stoptheworld_linux_libcdep.cc [sanitizer] Handle Die() in StopTheWorld. 2013-08-26 13:20:31 +00:00
sanitizer_suppressions.cc tsan: extend suppressions format with ^ and $ symbols 2013-07-16 16:44:15 +00:00
sanitizer_suppressions.h [lsan] Add suppression support. 2013-06-28 14:38:31 +00:00
sanitizer_symbolizer.h Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used 2013-08-13 11:42:45 +00:00
sanitizer_symbolizer_itanium.cc [*San/RTL] One more minor fix 2013-08-13 12:16:43 +00:00
sanitizer_symbolizer_libcdep.cc Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used 2013-08-13 11:42:45 +00:00
sanitizer_symbolizer_linux.cc [nolibc] Unweak SymbolizerPrepareForSandboxing and move it to libc-independent part. 2013-05-29 12:11:43 +00:00
sanitizer_symbolizer_linux_libcdep.cc [Sanitizer] support running external llvm-symbolizer on Mac 2013-06-11 08:13:36 +00:00
sanitizer_symbolizer_mac.cc [Sanitizer] support running external llvm-symbolizer on Mac 2013-06-11 08:13:36 +00:00
sanitizer_symbolizer_posix_libcdep.cc [Sanitizer] Always provide --default-arch argument to llvm-symbolizer 2013-07-17 15:02:43 +00:00
sanitizer_symbolizer_win.cc [ASan] Migrate lit tests to external symbolizer from asan_symbolize.py script 2013-06-28 12:50:12 +00:00
sanitizer_syscall_generic.inc [nolibc] Change internal syscall API to remove reliance on libc's errno. 2013-05-08 14:43:49 +00:00
sanitizer_syscall_linux_x86_64.inc [nolibc] Change internal syscall API to remove reliance on libc's errno. 2013-05-08 14:43:49 +00:00
sanitizer_thread_registry.cc Fix MSVC warnings at the -W2 level 2013-05-29 12:03:49 +00:00
sanitizer_thread_registry.h [sanitizer] Move FindThreadByOSIdLocked from lsan to sanitizer_common. 2013-05-27 10:35:51 +00:00
sanitizer_win.cc [ASan] Use less shadow on Win 32-bit 2013-07-16 09:47:39 +00:00