tsan: fix lint warning


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178157 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better flag parsing: do not confuse flag that is a part of another flag
(e.g. suppressions and print_suppressions)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178158 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: print matched suppressions if print_suppressions=1 flag is provided



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178159 91177308-0d34-0410-b5e6-96231b3b80d8
compiler-rt part of r178194. Remove ubsan test for diagnostic on inf/nan conversion between floating-point types.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178195 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] don't use -fno-builtin for tests; add a test for a false negative bug (inlined memcpy is not instrumented)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178228 91177308-0d34-0410-b5e6-96231b3b80d8
Fix unmatching ASan runtime flag for init-order checking exposed by r178158. Add a test for r178158.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@178229 91177308-0d34-0410-b5e6-96231b3b80d8
[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
Change the cmake variable COMPILER_RT_CAN_EXECUTE_TESTS to be an option so that it can overwritten.

The reason why this simple change is needed is that I am trying to set up a
quick cmake/ninja based buildbot and apple-clang does not support using the
sanitizers currently.

The default behavior follows exactly what was there before implying that no ones
builds should be affected at all.

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