tsan: do not allocate sync vars on relaxed atomic operations
helps to reduce memory consumption if an atomic is used only with relaxed ops (stats)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177381 91177308-0d34-0410-b5e6-96231b3b80d8
Support CMake build of profile runtime library on Linux

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177382 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Don't adjust the size of the user-allocated stack.

Moved this code to sanitizer_common.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177383 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Avoid use of uintptr_t.


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