[asan] clang-format part of asan_report.cc


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199877 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Print shadow memory and legend as a single printf call.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199878 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix format string mismatches found by format attributes added in r199874.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199879 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Add a sanity check.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199880 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Replace inline with INLINE.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199883 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Android logging.

This change duplicates all ASan output to system log on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199887 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] More buffering in report printing.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199888 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Fix false positive in printf interceptors: properly handle precision for %s

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199895 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Fix false positive in snprintf interceptor - take the number of actually written symbols from real snprintf call.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199899 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Expand a comment to document our dynamic TLS hack.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199900 91177308-0d34-0410-b5e6-96231b3b80d8
Add end of function marker, which can be used on ELF to correctly set
the function size.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199914 91177308-0d34-0410-b5e6-96231b3b80d8
Don't create check-ubsan and check-dfsan commands if they are not supported on this platform

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@199979 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] add __libc_memalign interceptor; add a regression test for the existing bug with dtls support in msan

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