[msan] Remove extra backup/restore calls.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189461 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] fix code style

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189474 91177308-0d34-0410-b5e6-96231b3b80d8
Check code style in check-sanitizer command

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189475 91177308-0d34-0410-b5e6-96231b3b80d8
Make lint checker script more robust

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189479 91177308-0d34-0410-b5e6-96231b3b80d8
sanitizer_common: Use PYTHON_EXECUTABLE to choose appropriate python.

Fixes build on systems where 'python' is not python2.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189486 91177308-0d34-0410-b5e6-96231b3b80d8
cmake: Add /Oy- (don't omit frame pointer) to compile flags

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189488 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Add custom function for pthread_create.

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189502 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Add custom function for dl_iterate_phdr.

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189503 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Refine CMake rules for generating exported symbols and lint checking

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189577 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Parallelize lint checker script

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189578 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Move build rules a bit to ensure correct dependencies of check-tsan command

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189579 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Add a couple of compiler warnings to TSan runtime compile flags

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189581 91177308-0d34-0410-b5e6-96231b3b80d8
Minor updates to gen_dynamic_list script suggested by glider

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189588 91177308-0d34-0410-b5e6-96231b3b80d8
[dfsan] Add a syms file.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189620 91177308-0d34-0410-b5e6-96231b3b80d8
Avoid compiler-generated memset by using internal_memset.

Fixes PR17025.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189693 91177308-0d34-0410-b5e6-96231b3b80d8
Conditionalise inclusion of link.h on !SANITIZER_ANDROID.

Hopefully fixes the Android build.

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189696 91177308-0d34-0410-b5e6-96231b3b80d8
Improve collecting malloc stats in ASan

Summary:
This change makes races between updates of thread-local stats and
merging all the thread-local stats together less harmful.

Reviewers: kcc

Reviewed By: kcc

CC: dvyukov, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189744 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Don't build sanitizer runtimes if LLVM_USE_SANITIZER is specified

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

Conflicts:

	lib/CMakeLists.txt

Change-Id: Ic565015c9d4f671dd3c859b2164cc7be3fb1d7d7
[ASan] Make blacklist test more robust

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189748 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept memalign, valloc, pvalloc.

PR17039

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