[asan] disable the detect_stack_use_after_return run-time flag by default and enable it explicitly in tests. This is done in preparation to enabling the -fsanitize=use-after-return compile-time flag by default when -fsanitize=address is present.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191184 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix the interface test on Darwin.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191187 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Add DLL thunks for the new stack UAR interface

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191188 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix a compile-time warning

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191189 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Slightly optimize the DLL thunk

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191190 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Allow nested symbolizer and loader scopes.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191196 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Fix a WTF in r191196.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191197 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] remove -fsanitize=use-after-return from the tests (this flag now comes with asan by default)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191204 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Test for atomic handling in MSan.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191288 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix GCD tests by spinning forever in the main thread.
Since the error is always reported by one of the GCD workers, this will help avoid premature program termination with exit code 0.


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191305 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Don't include wordexp.h on Android

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191358 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] A bunch of libc interceptors.

sigwait
sigwaitinfo
sigtimedwait
sigemptyset
sigfillset
sigpending
sigprocmask


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191374 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix scanf interceptor


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191445 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: support allocator_may_return_null flag
Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=29



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191482 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Unpoison argument shadow for C++ module destructors.

Fixes PR17377.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191508 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] introduce run-time flag uar_stack_size_log to control the size of FakeStack; don't crash when the fake stack is exhausted, move some code to .cc file

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191510 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept backtrace, backtrace_symbols.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191516 91177308-0d34-0410-b5e6-96231b3b80d8
[LSan] Don't report leaks with single-frame stack traces

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@191522 91177308-0d34-0410-b5e6-96231b3b80d8
[LSan] Rework r191522 - treat allocations with short stack traces as live

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