[asan] relax Linux/zero-base-shadow.cc to make it pass on newer Ubuntu; fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179088 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] fix TSan tests: remove global ctor from sanitizer_common, run load_shared_lib test only in lit

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179090 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept glob() with tests.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179091 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Interceptors for wait*.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179096 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] fix a typo in legend in error report

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179161 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] implement callbacks for unaligned loads/stores

Reviewers: samsonov

Reviewed By: samsonov

CC: samsonov, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179175 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Do not check the shadow of NULL argument in the time() interceptor.
Add a test for time().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179177 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] add heavy_uar_test (disabled); fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179271 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] move fake stack into a separate .h file; actually disable a failing test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179273 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Symbolize correct address when printint error summary

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179274 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix use-after-return functionality (PR15672) and enable the corresponding test. We still don't guarantee anything with regard to use-after-return checking

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179278 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] test source-based init-order blacklisting added in r179280

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179281 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] make heavy_uar_test a bit more heavy and fix he fake stack to pass this test

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179286 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Syscall hooks.

Pre- and post- hooks for linux syscalls. Not wired into anything, but exposed
through public interface.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179288 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] improve the UAR reporting (try harder to find the correct frame), try to make the test more stable

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179292 91177308-0d34-0410-b5e6-96231b3b80d8
Explicitly list all sanitizer headers in CMake build rules. Make sure sanitizer lit_tests depend on fresh headers.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179293 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] make heavy_uar_test even heavier

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179306 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] inline flags(), up to 1% perf gain on malloc-intensive code

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179307 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] remove -fPIE -pie from TSan lit tests to check that -fsanitize=thread implies them now

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@179365 91177308-0d34-0410-b5e6-96231b3b80d8
[MSan] don't build tests with -fPIE/-pie, as these flags are implied by -fsanitize=memory now

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