tsan: do not imitate memory write on malloc() (Go)
better memory range access functions (put only 1 event to trace) (Go)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175056 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] When re-executing the process on OS X, make sure we update the existing DYLD_INSERT_LIBRARIES correctly.
Previously ASan used to hang in an exec loop, because it failed to overwrite the env var value
(see https://code.google.com/p/address-sanitizer/issues/detail?id=159).



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175059 91177308-0d34-0410-b5e6-96231b3b80d8
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11,
base-to-derived casts have undefined behavior if the object is not actually an
instance of the derived type. Runtime library part.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175079 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] disable a failing test until it gets fixed. fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175137 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix x32 build (H.J. Lu)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175140 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] use short path for sanitizer_common/tests/sanitizer_test_utils.h, add -I sanitizer_common/tests to asan/tests/CMakeLists.txt

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175142 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Raise argv limit for ReExec.

We are still limited by /proc/*/cmdline size (4Kb max on Linux!).


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