llvm-project/compiler-rt/lib/msan
Alexey Samsonov eacb4d8417 [CMake] Use ExternalProject to build MSan-ified version of libcxx for unit tests.
This change lets MSan rely on libcxx's own build system instead of manually
compiling its sources and setting up all the necessary compile flags. It would
also simplify compiling libcxx with another sanitizers (in particular, TSan).

The tricky part is to make sure libcxx is reconfigured/rebuilt when Clang or
MSan runtime library is changed. "clobber" step used in this patch works well
for me, but it's possible it would break for other configurations - will
watch the buildbots.

llvm-svn: 208451
2014-05-09 22:11:03 +00:00
..
tests [CMake] Use ExternalProject to build MSan-ified version of libcxx for unit tests. 2014-05-09 22:11:03 +00:00
CMakeLists.txt [CMake] Use ExternalProject to build MSan-ified version of libcxx for unit tests. 2014-05-09 22:11:03 +00:00
Makefile.mk [sanitizer] Add MSan to Makefile-based build rules. 2013-02-21 13:55:54 +00:00
msan.cc [msan] Switch to common printf interceptors. 2014-05-08 09:50:59 +00:00
msan.h [msan] Fix __msan_check_mem_is_initialized and prettify its output. 2014-05-07 11:50:14 +00:00
msan.syms.extra Properly generate lists of exported symbols for sanitizer runtimes 2013-08-27 15:08:02 +00:00
msan_allocator.cc [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_allocator.h [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_blacklist.txt [MSan] Add empty default blacklist for MSan 2013-05-21 13:55:56 +00:00
msan_flags.h [msan] Replace wrap_indirect_calls runtime flag with an interface method. 2013-12-20 11:05:19 +00:00
msan_interceptors.cc [msan] Intercept strxfrm. 2014-05-08 12:04:01 +00:00
msan_interface_internal.h [msan] Prettify __msan_print_shadow. 2014-04-30 09:50:30 +00:00
msan_linux.cc [msan] mprotect() more memory to detect user code outside of application range. 2014-04-11 12:04:29 +00:00
msan_new_delete.cc Add throw() specifiers to more redeclarations of operator delete and operator delete[]. 2014-02-08 01:42:08 +00:00
msan_report.cc [msan] Fix __msan_check_mem_is_initialized and prettify its output. 2014-05-07 11:50:14 +00:00
msan_thread.cc [msan] Introduce MsanThread. Move thread-local allocator cache out of TLS. 2014-04-04 09:47:41 +00:00
msan_thread.h [msan] Disable chained origins in signal handlers. 2014-04-23 14:01:57 +00:00