[ASan/Win] Add a comment about DCL-using-static vs threads

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209414 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Don't use INTERCEPTOR_ATTRIBUTE for operator new/delete on Windows

Reviewed at http://reviews.llvm.org/D3870

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209416 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Use the new function interception approach to handle function wrappers too; wrap strlen() in DLLs

Reviewed at http://reviews.llvm.org/D3871

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209427 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Add more tests for operator new[]

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209439 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Thread more library functions from the DLL thunk to the main module

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209441 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Make sure the list of wrappers exported by the main module and imported by the DLL thunk always matches

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209444 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] relax the test for long double

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209445 91177308-0d34-0410-b5e6-96231b3b80d8
Quick-fix a copy-and-paste mistake in one of the ASan test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209448 91177308-0d34-0410-b5e6-96231b3b80d8
Unify the name of compiler-rt builtins library on Linux.

Call it "libclang_rt.builtins-<arch>.a" to be consistent
with sanitizers/profile libraries naming. Modify Makefile
and CMake build systems and Clang driver accordingly.

Fixes PR19822.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209473 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] ifdef out certain functions if 128-bit ints are not supported.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209476 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix a test following r209508

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209509 91177308-0d34-0410-b5e6-96231b3b80d8
[ubsan] handle long double in 32-bit mode; part of the patch by Marek Polacek

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209516 91177308-0d34-0410-b5e6-96231b3b80d8
[ubsan] temporary disable testing with -m32 as there are bots that don't support it

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209517 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Make stack traces from dlclose()'d modules more meaningful.

Previously, they silently omitted PCs belonging to unknown modules. Now we print
(<unknown module>) instead.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209522 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win tests] Use the env keyword in the SUAR tests to work with gnuwin/lit correctly

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209620 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win tests] Remove the extra 'cat' in front of FileCheck now that it's clear we should use GnuWin32 rather than Cygwin on the PATH on Windows (see PR19744)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209622 91177308-0d34-0410-b5e6-96231b3b80d8
[MSan] Implement __sanitizer_print_stack_trace().

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209625 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan tests] Use ASAN_OPTIONS in a portable way

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209629 91177308-0d34-0410-b5e6-96231b3b80d8
On AArch64, use clone() instead of fork()

Patch by Gideon Billings.

Differential Revision: http://reviews.llvm.org/D3903

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209641 91177308-0d34-0410-b5e6-96231b3b80d8
[asancov] Write coverage directly to a memory-mapped file.

This way does not require a __sanitizer_cov_dump() call. That's
important on Android, where apps can be killed at arbitrary time.

We write raw PCs to disk instead of module offsets; we also write
memory layout to a separate file. This increases dump size by the
factor of 2 on 64-bit systems.


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