[sanitizer] add one more test for deadlock detection stuff

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201505 91177308-0d34-0410-b5e6-96231b3b80d8
[compiler-rt] Fix CompilerTargetTriple for non-English locales.

When the locale of a shell is set other than English locales or the C locale,
The word 'Target' may be translated. Thus, with e.g. ja_JP locale, compiler-rt
couldn't be built properly. Forcing LANG=C fixes the problem.

Patch by Ogino Masanori.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201506 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] implement node removal in Deadlock graph

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201509 91177308-0d34-0410-b5e6-96231b3b80d8
Update license.txt to point to the new code in third_party/android.

Also remove a reference to mach_override code that is long gone.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201510 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Add a test for stack unwinding in new and delete.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201511 91177308-0d34-0410-b5e6-96231b3b80d8
Simplify defining Clang compile flags in lit configs

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201513 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] add tests for DeadlockDetector, minor fix in onLock

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201514 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Simplify code for detecting/setting compiler flags

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201544 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Make __cxa_demangle non-weak symbol on Android.

This fixes global-demangle.cc test on Android.

https://code.google.com/p/address-sanitizer/issues/detail?id=264


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201545 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Simplify setting compile flag disabling RTTI

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201548 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Check for -fPIE and -ffreestanding flags for consistency

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201549 91177308-0d34-0410-b5e6-96231b3b80d8
Drop test/asan/GenericConfig directory

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201552 91177308-0d34-0410-b5e6-96231b3b80d8
Simplify lit test configs for LSan and UBSan by using a generic config

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201553 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] one more lit test for deadlock detector; more to come

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201554 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Add top-level target for each compiler-rt library, and add 'compiler-rt' target encompassing them all.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201556 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Override default sigaltstack setting on Android.

Android libc always sets altstack on non-main threads, but it is too small for
our unwinder. With use_sigaltstack=1, override this setting with a larger one.


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


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