[sanitizer] Interceptors for gethostbyname and friends.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182573 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept getsockopt.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182574 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Rename a atomic_compare_exchange_strong parameter to avoid a compiler warning

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182576 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix line >80 chars.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182578 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Introduce SymbolizerPrepareForSandboxing(), which is a no-op on every platform except Linux (because we don't support sandboxing anywhere else yet)
On Linux we pre-cache the value of readlink("/proc/self/exe"), so that it can be later used when the sandbox has been turned on.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182579 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] Remove -Wgnu from Makefile.old.


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