[libsanitizer] Unmapping the old cache partially invalidates the memory layout, so add
a flag to skip cache update for cases when that's unacceptable (e.g. lsan).

Patch by Sergey Matveev (earthdok@google.com)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178000 91177308-0d34-0410-b5e6-96231b3b80d8
asan/tsan: change SANITIZER_GO to more general SANITIZER_SUPPORTS_WEAK_HOOKS


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178009 91177308-0d34-0410-b5e6-96231b3b80d8
asan/tsan: move strcasecmp() interceptor to sanitizer_common


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178010 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] make memcpy_race.cc test immune to memcpy inlining

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178012 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Change the ABI of __asan_before_dynamic_init function: now it takes pointer to private string with module name. This string serves as a unique module ID in ASan runtime. compiler-rt part

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178014 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Run test output through FileCheck

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