[sanitizer] Fix build on RHEL 6.3, 6.4.

linux/if_ppp.h is broken in certain kernels.


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184293 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Delete excessive 'extern "C"' around mlock* interceptors.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184294 91177308-0d34-0410-b5e6-96231b3b80d8
When the compiler is not providing a clean triple, we should fail 
the build right from the start. 
For now, it is only done with DEBUGMAKE is provided. That makes
things harder to debug during ports of compiler-rt on other systems.




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184295 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix struct ifconf definition on Mac and restore the size checks.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184296 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Move symbolization and reporting out of StopTheWorld callback.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184303 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Prevent inlining of WipeStack().

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184312 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Clear allocation magic value before recycling the chunk. This led to spurious crashes in LSan when it walked through reused chunks. Don't know how to create not-brittle test case for this.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184404 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Handle EVIOxxxx ioctls.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184405 91177308-0d34-0410-b5e6-96231b3b80d8
Remove an outdated comment.


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184407 91177308-0d34-0410-b5e6-96231b3b80d8
Fix unused function warning w/o changing compiler flags.

We have way too many different build systems.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184409 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Define LSan annotations as no-ops if leak detection is not supported.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184422 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix potential false positive race on fd


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184430 91177308-0d34-0410-b5e6-96231b3b80d8
[santizer] Disable several EVIOxxx ioctls on older kernels.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184539 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Check that ASan user may include and use LSan headers

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184540 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] make test for LSan annotations Linux-only for now

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184541 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Add keep_going runtime flag.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184542 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept (v)asprintf.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184545 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] reimplement strdup() interceptor to get nicer stack traces for memory chunks allocated there

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