Move shared configs for lit test suites to test/ and unittests/ directories

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201399 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Use mmap to zero-fill large shadow regions.

This is covered by existing ASan test.
This does not change anything for TSan by default (but provides a flag to 
change the threshold size).
Based on a patch by florent.bruneau here:
  https://code.google.com/p/address-sanitizer/issues/detail?id=256



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201400 91177308-0d34-0410-b5e6-96231b3b80d8
Move UBSan test suite under test/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201401 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Added assembly functions for x86/amd64 asan.

These are runtime support functions for inline assembly instrumentation.

Patch by Yuri Gorshenin.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201402 91177308-0d34-0410-b5e6-96231b3b80d8
Move DFSan test suite under test/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201403 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Disable assembly on windows.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201404 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] add iterators to bit vectors; make bit vector operations use little stack; add common flag 'detect_deadlocks'

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201405 91177308-0d34-0410-b5e6-96231b3b80d8
Delete LSan unit tests

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201406 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] rudimentary support for deadlock detector in tsan (nothing really works yet except for a single tiny test). Also rename tsan's DeadlockDetector to InternalDeadlockDetector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201407 91177308-0d34-0410-b5e6-96231b3b80d8
Move LSan test suite under test/

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201409 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix getpwuid_r (and similar) interceptors missing one of the arguments.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201410 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Revert r201402, r201404.

Test fails in bootstrap build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201411 91177308-0d34-0410-b5e6-96231b3b80d8
Move MSan lit-tests under test/msan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201412 91177308-0d34-0410-b5e6-96231b3b80d8
Move ASan lit-tests under test/asan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201413 91177308-0d34-0410-b5e6-96231b3b80d8
Move TSan lit-tests under test/tsan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201414 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Change stack uar test to not use ulimit.

Because of how Android test runner is implemented, ulimit in RUN: line
gets executed on the host machine and does not affect the test.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201415 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Disabled one more test on Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201416 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Rename asan_runtime_libraries to asan. Re-enable tests on Android.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201417 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Replace posix_memalign with memalign in test.

Android does not provide posix_memalign.


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