Use LLVM_BUILD_TYPE instead of CMAKE_BUILD_TYPE in compiler-rt unit tests to match the behavior of llvm unittests

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173926 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Further split private and public sanitizer headers.

And make msan_interface.h C-compatible.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173928 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Add change missed in r173926

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173929 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] include sanitizer_common headers when building interception library

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173930 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix CPP_WEAK definition (it must be the other way around)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173932 91177308-0d34-0410-b5e6-96231b3b80d8
asan/tsan: manually define FUTEX constants, because <linux/futes.h> header is broken on some linux distributions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173933 91177308-0d34-0410-b5e6-96231b3b80d8
[build/clang_darwin] Fix the case reversal in r173465.

 - I got confused by the double negative, the test succends on 10.6, in which
   case we *do* want to perform the filter-out.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173977 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: do not check for intersecting memory accesses in Go (all accesses are 1 byte)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174046 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: switch to explicit thread contexts in Go (instead of monotonic goroutine ids)


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