[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
[MSan] Fixup for r206983: MsanThread may be unavailable in signal handler: signals may be raised while thread is being destroyed

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208250 91177308-0d34-0410-b5e6-96231b3b80d8
[DFSan] Update build rules for Makefile build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208268 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Unconditionally write to target buffer in *sprintf interceptors.

This does not change the default behavior (check_printf in on by default in all tools).
With this change, check_printf flag only affects format string parsing.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208290 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Update tests for r208290.

sprintf output buffer is now always sanitized.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208291 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix potential infinite recursion in a test.

If printf is intercepted (it is not atm), REAL(printf) call in the interceptor
would get redirected back to my_lgamma, resulting in infinite recursion.


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