[tsan] a test checking that memset/memcpy/memmove are not inlined in tsan mode

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178231 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Minor enhancements in InternalVector container

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178238 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Speed-up initialization-order checking: create and use fast versions of PoisonShadow functions, store copies of __asan_global descriptors in a vector instead of list of pointers. This gives 3x speedup on both benchmarks and real binaries with lots of globals.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178239 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: print statistics about benign race annotations
(total count, unique, matched) if requested with print_benign=1
flag.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178245 91177308-0d34-0410-b5e6-96231b3b80d8
Make all the ALWAYS_INLINE users Windows-friendly; also, avoid ALWAYS_INLINE INLINE combinations

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178266 91177308-0d34-0410-b5e6-96231b3b80d8
Remove all 'static' before ALWAYS_INLINE

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178290 91177308-0d34-0410-b5e6-96231b3b80d8
Add "static" to the Windows ALWAYS_INLINE macro (similar to what we do on POSIX)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178296 91177308-0d34-0410-b5e6-96231b3b80d8
Band-aid fix for the TSan RTL build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178298 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Follow-up for r178238 - replace DCHECKs with regular CHECKs

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178336 91177308-0d34-0410-b5e6-96231b3b80d8
[libsanitizer] Put COMMON_CFLAGS/COMMON_CXXFLAGS before Tmp.CFLAGS to let the config-specific flags override common flags.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178339 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Build TSan runtime with -fPIE.
This removes all register spills from the performance-critical __tsan_{read,write}{1,2,4,8} functions when the host compiler is GCC.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178340 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] restore performance critical inlining in tsan: remove static from ALWAYS_INLINE, use ALWAYS_INLINE USED for critical functions. 

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