[dfsan] Begin a private header and move shadow_for there.

Differential Revision: http://llvm-reviews.chandlerc.com/D1348

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188231 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Remove the unused __dfsan_memcpy function.

Differential Revision: http://llvm-reviews.chandlerc.com/D1350

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188238 91177308-0d34-0410-b5e6-96231b3b80d8
Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
[*San/RTL] Fix minor breakage

Grumbling: this hasn't been caught by running 'make check-{a,l,t}san check-sanitizer'

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188262 91177308-0d34-0410-b5e6-96231b3b80d8
[*San/RTL] One more minor fix

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188263 91177308-0d34-0410-b5e6-96231b3b80d8
Add a FIXME to check_lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188266 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Add the first version of the RTL thunk that should be linked with instrumented DLLs

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188267 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Hook some memory allocation functions; passes simple sanity test now

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188278 91177308-0d34-0410-b5e6-96231b3b80d8
tsan/msan: add halt_on_error flag
If halt_on_error==true, program terminates after reporting first error.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188279 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Oops, forgot to add the attributes to the memory allocations functions

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188290 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: intercept getaddrinfo
This is necessary to prevent false positives, see:
https://code.google.com/p/thread-sanitizer/issues/detail?id=25

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188291 91177308-0d34-0410-b5e6-96231b3b80d8
dfsan: fix lint warning

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