[asan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190128 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190132 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] make calloc crash instead of returning 0 on overflow (controlled by the allocator_may_return_null flag)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190135 91177308-0d34-0410-b5e6-96231b3b80d8
Migrate ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS to new spelling - ATTRIBUTE_NO_SANITIZE_ADDRESS

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190136 91177308-0d34-0410-b5e6-96231b3b80d8
Fix compiler warning introduced in r190022

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190137 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] make the check for NULL more portable.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190139 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] A bunch of linux system call handlers.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190157 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix Android build.

Android actually has "__unused" macro defined in <cdefs.h>.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190160 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Avoid including any system headers in the system-header-free part of the runtime library.


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