[TSan] Add the WTFAnnotateBenignRaceSized implementation and a test for
WTFAnnotateBenignRaceSized and AnnotateBenignRaceSized.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178534 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Fix StopTheWorld includes on Android. Patch by Sergey Matveev.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178625 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Kill the remainders of platform defines in favor of SANITIZER_ defines

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178627 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Kill the remainders of platform defines in favor of SANITIZER_ defines

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178629 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Be more careful with arch-specific defines in StopTheWorld code

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178630 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Fix OnPrint weak hook. Disable weak hooks for gotsan.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178640 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] while doing fast unwinding make sure that the frame pointer is aligned; fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178747 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Unpoison siginfo_t and ucontext_t in signal handlers.

Add wrappers for all user signal handlers to unpoison the handler's arguments.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178754 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Use ucontext_t instead of "struct ucontext".

Fixes Mac build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178755 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Android lacks ucontext_t definition.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178756 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178757 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] nuke the old unused allocator code

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178758 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Make path to FileCheck configurable

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178760 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Use a common mutex to prevent mixing reports from different sanitizers. This fixes PR15516

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178853 91177308-0d34-0410-b5e6-96231b3b80d8
Remove InternalAlloc/InternalFree calls from StopTheWorld. Patch by Sergey Matveev.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178855 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] init-order checker tests: move constexpr test that requires -std=c++11 to a separate test case. Check that structs with no ctor but non-trivial dtor are ignored.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178857 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] enquote the module name when passing it to external symbolizer

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178864 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] A runtime option to disable wrapping of signal handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178865 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Conditionally disable new() and delete() wrappers.

To be used with static libstdc++.


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


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