[asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. compiler-rt part

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174958 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept __isoc99_*scanf.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174960 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Missing changes from r174960.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174962 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Add new __isoc99_*scanf to ASan intercepted functions list.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174965 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] More accurate scanf parsing without GNU extensions.

In __isoc99_*scanf we don't have to worry about GNUisms, and can parse
%a accurately.

Patch by Jakub Jelinek.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174969 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Allow zero buf pointer in getcwd() interceptor.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174970 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Tests for scanf parser in allowGnuMalloc=false mode.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174971 91177308-0d34-0410-b5e6-96231b3b80d8
Highlight caret in bold green, to match Clang diagnostics.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175013 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] simplify tsan-vs-gvn test since gvn vs tsan is now fixed; fix lint 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175037 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] don't check shadow inside interceptors if we are inside symbolizer; add weak function __msan_default_options that overrides default options

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@175040 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix fixed mapping for mac (ASAN_FLEXIBLE_MAPPING_AND_OFFSET=0)

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