[UBSan] Use <machine/endian.h> on Darwin.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218662 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Re-enable lsan_annotations test on Android.

Was fixed by r218605.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218663 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Run tests with the default compiler on Android.


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

And add a missing return in main, just in case.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218674 91177308-0d34-0410-b5e6-96231b3b80d8
[UBsan] Disable summary.cpp on Darwin. The test requires ubsan-asan, which does not work yet.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218675 91177308-0d34-0410-b5e6-96231b3b80d8
[compiler-rt] Re-enable the use of -gmlt for ASan tests on Darwin

The optimization for -gmlt/-gline-tables-only introduced in r218129 happened to break on Darwin and produce no line number information due to
an incompatibility with dsymutil. ASan tests have been failing because of that and we disabled the use of -gmlt for the tests in r218545. This patch re-enables the use of -gmlt, because we have conditionally disabled the incompatible optimization in LLVM, so -gmlt now works on Darwin. Once Darwin's dsymutil is modified to allow this optimization, we can re-enable the optimization in LLVM.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@218716 91177308-0d34-0410-b5e6-96231b3b80d8
Disable the ubsan-asan config on Darwin.
UBSan doesn't work together with ASan on Darwin yet, see http://llvm.org/bugs/show_bug.cgi?id=21112


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