[msan] Intercept time().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179002 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix boundary condition in LargeMmapAllocator::GetBlockBegin. Patch by Sergey Matveev

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


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179012 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Interceptors for pipe2 and socketpair.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179022 91177308-0d34-0410-b5e6-96231b3b80d8
[libsymbolized] If we can't find an address in the list of shared libraries, try to reload it.

Add a regression test for the case where such behavior helps TSan:
  1. race is reported in the main module
  2. new shared library is loaded
  3. race is reported in the shared library



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179032 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r179012: "[msan] Intercept glob()."

This was committed without tests and contains obvious bugs. That's not
acceptable. It broke address sanitizer for most programs using glob(3).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179054 91177308-0d34-0410-b5e6-96231b3b80d8
Merge branch 'master' into powerpc-darwin8