[CMake] Make append_if semantics similar to those used in LLVM

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203773 91177308-0d34-0410-b5e6-96231b3b80d8
FastPoisonShadow: check for MmapFixedNoReserve failures

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203776 91177308-0d34-0410-b5e6-96231b3b80d8
Disable fast shadow zero'ing on Windows

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203778 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] support recursive rwlocks in bitset-based deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203779 91177308-0d34-0410-b5e6-96231b3b80d8
Work around PR19125: -Wconstant-logical-operand false positive

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203782 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: update the test since the bug is fixed
http://llvm.org/bugs/show_bug.cgi?id=19113 is fixed, so enable the better CHECK



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203784 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Use /W3 instead of -Wall on Windows. Remove add_definitions abuse.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203786 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Attempt to fix standalone compiler-rt build on Windows

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203789 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Hide message about re-execing under verbosity flag

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203793 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Test for aggregates passing through ellipsis.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203795 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] in bitvector-based deadlock detector split onLock into onLockBefore and onLockAfter hooks

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203796 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] More fixes for Windows build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203798 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] in bitset-based deadlock detector collect edge's stack trace when an edge is added to the graph (in following CLs these stack traces will be added to the report)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203902 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] partially implement racy fast path in bitset-based deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203904 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] fully implement racy fast path in bitset-based deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203910 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Add trailing newline to test source file to make sure -Wnewline-eof doesn't fire

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203911 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Remove the unneeded ASAN_RUNTIME_LDFLAGS.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203913 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=274
by ignoring globals from __TEXT,__cstring,cstring_literals during instrumenation.
Add a regression test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203916 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] make real_pthread_attr_getstack extern "C"

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204029 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: yet another attempt to fix pthread_cond interceptors
Make behavior introduced in r202820 conditional (under legacy_pthread_cond flag).
The new issue that we've hit with the satellite pthread_cond_t struct is
that pthread_condattr_getpshared does not work (satellite data is not shared between processes).
The idea is that most processes do not use pthread 2.2.5.
The rare ones that use (2.2.5 is dated by 2002) must specify legacy_pthread_cond=1
on their own risk.



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