[asan] Remove leftover use of -fsanitize-address-zero-base-shadow.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199373 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Implement delayed activation of AddressSanitizer

This change adds ASAN_OPTIONS=start_deactivated=1 flag. When present, ASan will
start in "deactivated" mode, with no heap poisoning, no quarantine, no stack
trace gathering, and minimal redzones. All this features come back when
__asan_init is called for the constructor of an instrumented library.

The primary use case for this feature is Android. Code itself is not
Android-specific, and this patch includes a Linux test for it.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199377 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Restore lost -pie in Android tests.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199379 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix a bunch of style issues.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199380 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Add basic support for using libbacktrace in symbolizer.

This change allows to compile sanitizer sources so that *san runtime
will attempt to use libbacktrace and/or libiberty for symbolization
(instead of communicating with llvm-symbolizer).

I've tested this patch by manually defining SANITIZER_LIBBACKTRACE and/or
SANITIZER_CP_DEMANGLE, linking with necessary libraries and verifying that
all tests from ASan test suite work.

Based on patches by Jakub Jelinek!


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199384 91177308-0d34-0410-b5e6-96231b3b80d8
Add missing __aeabi_fcmpun alias to match C version.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199386 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix a build warning on windows.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199390 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Remove empty method

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199481 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Link runtime library with -lm -Wl,-z,defs to ensure that it declares all its dependencies.


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