[msan] Prettify __msan_print_shadow.

Makes __msan_print_shadow output much more readable, adds origin info.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207622 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] make AsanCoverage lock-free (and AS-safe)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207630 91177308-0d34-0410-b5e6-96231b3b80d8
Allow any test to be executed via a %run command.

Configure %run with COMPILER_RT_EMULATOR:

  $ cmake -DCOMPILER_RT_EMULATOR="qemu-arm -L $SYSROOT"

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207707 91177308-0d34-0410-b5e6-96231b3b80d8
Add %run to all lit tests

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207709 91177308-0d34-0410-b5e6-96231b3b80d8
The newest versions of CMake require outputs of custom commands be in
DEPENDS rather than SOURCES. The SOURCES just end up looking on the
filesystem and not finding anything. Makes for very hard to debug build
errors. =/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207722 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] disable GetKernelStartAddress as it misbehaves in schroot

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207768 91177308-0d34-0410-b5e6-96231b3b80d8
profile: Fix the build with gcc 4.9

GCC -pedantic warns that the initialization of Header is not constant:
InstrProfilingFile.c:31:5: error: initializer element is not computable at load time [-Werror]

LLVM defaults to enabling -pedantic.  If this warning is unhelpful, we
can consider revisiting that decision.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207784 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: disable debug output in normal mode


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207954 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Add DLL thunks for the fake stack interface

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207960 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] fix build with glibc 2.4, patch by Sandra Loosemore

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208066 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix print_shadow test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208069 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Don't crash when ASAN_OPTIONS have disable_core=1

Reviewed at http://reviews.llvm.org/D3610

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208070 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Print addresses in hexadecimal.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208089 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] introduce interface function __sanitizer_verify_contiguous_container to verify annotations in vector-like containers

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208092 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Include asm instrumentation source in Makefile build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208172 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix __msan_check_mem_is_initialized and prettify its output.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208195 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept obstack.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208196 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Replace a macro with a function.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208207 91177308-0d34-0410-b5e6-96231b3b80d8
Ignore stack-buffer-overflow in std::_Find_elem<*> / std::num_get<...>::_Getifld

Reviewed at http://reviews.llvm.org/D3650

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208215 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix i386 tests broken from r207707

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208240 91177308-0d34-0410-b5e6-96231b3b80d8