tsan: reduce number of iterations in the test
otherwise it runs for 50 seconds in debug mode



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206950 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: more precise check for "app memory" in COMPAT mode
this fires when a user makes mmap with fixed address (see the test)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206952 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] disable lsan back. :(  -- It appears that quite a few lit tests have leaks and they were not covered by out buildbot

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206955 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix atexit handling after fork
fixes issue http://code.google.com/p/thread-sanitizer/issues/detail?id=57



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206980 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Disable chained origins in signal handlers.

StackDepot is not async-signal-safe; storing a new origin to it can deadlock.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@206983 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Move the shadow range on 32-bit iOS (and iOS Simulator)
to 0x40000000-0x60000000 to avoid address space clash with system libraries.
The solution has been proposed by tahabekireren@gmail.com in https://code.google.com/p/address-sanitizer/issues/detail?id=210
This is also known to fix some Chromium iOS tests.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207002 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] enable use_sigaltstack by default (this will provide verbose reports on stack-overflow instead of silently crashing with SEGV)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207099 91177308-0d34-0410-b5e6-96231b3b80d8
Add DLL thunks for recently-added memcpy, memset and memmove ASan intrinsics

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207113 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: stop background thread when sandbox is enabled
Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=56



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207114 91177308-0d34-0410-b5e6-96231b3b80d8
Add user-defined callback on write() calls.

Add dfsan_set_write_callback(), which sets a callback to be invoked when
a write() call is invoked within DFSan instrumented code.

Patch by Sam Kerner!

Differential Revision: http://reviews.llvm.org/D3268

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207131 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] wordexp isn't available on iOS

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207140 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better reports for "double lock of a mutex"
+ fixes crashes due to races on symbolizer, see:
https://code.google.com/p/thread-sanitizer/issues/detail?id=55



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207204 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add new test for commit 207204 (forget to add new file)



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207205 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better report for bad mutex unlocks
+ fixes crashes due to races on symbolizer, see
https://code.google.com/p/thread-sanitizer/issues/detail?id=55



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207206 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix tests
failure:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-centos-6.5/builds/3747/steps/test/logs/stdio



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207207 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: improve "read unlock of a write locked mutex" report



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207208 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better reports for "read lock of a write locked mutex"



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207209 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] implement an experimental detector of ODR violations. Not tested yet outside of a tiny test, may need tuning.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207210 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: better reports for "unlock of an unlocked mutex"



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@207211 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: allow to suppress all reports
Fixes issue https://code.google.com/p/thread-sanitizer/issues/detail?id=45



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