hanchenye-llvm-project/compiler-rt/test
Kostya Kortchinsky 8a0b40a8b3 [scudo] Android build support
Summary:
Mark Android as supported in the cmake configuration for Scudo.

Scudo is not added yet in the Android build bots, but code builds and tests
pass locally. It is for a later CL. I also checked that Scudo builds as part
of the Android toolchain.

A few modifications had to be made:
- Android defaults to `abort_on_error=1`, which doesn't work well with the
  current tests. So change the default way to pass `SCUDO_OPTIONS` to the tests
  to account for this, setting it to 0 by default;
- Disable the `valloc.cpp` & `random_shuffle.cpp` tests on Android;
- There is a bit of gymnatic to be done with the `SCUDO_TEST_TARGET_ARCH`
  string, due to android using the `-android` suffix, and `i686` instead of
  `i386`;
- Android doesn't need `-lrt`.

Reviewers: alekseyshl, eugenis

Reviewed By: alekseyshl

Subscribers: srhines, mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D37907

llvm-svn: 313538
2017-09-18 15:40:53 +00:00
..
BlocksRuntime
asan Mark various failing tests with "UNSUPPORTED: ios". 2017-09-17 20:00:43 +00:00
builtins [builtins] Remove one more missed not-android 2017-09-16 03:47:19 +00:00
cfi ubsan: Unbreak ubsan_cxx runtime library on Windows. 2017-09-15 20:24:12 +00:00
dfsan [mips] XFAIL dfsan's custom.cc test on mips64. 2017-05-09 19:17:16 +00:00
esan [tsan] Update unittest for logging changes of r308637 2017-07-20 20:06:00 +00:00
fuzzer [libFuzzer] add linux-specific test for gc-sections 2017-09-15 23:07:18 +00:00
interception Revert "[interception] Check for export table's size before referring to its elements." 2017-01-22 03:30:14 +00:00
lsan Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case" 2017-09-08 21:09:43 +00:00
msan [msan] Check sigset_t and sigaction arguments. 2017-09-05 21:08:56 +00:00
profile Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [sanitizer] Fix check for i386 Android in lit tests 2017-09-16 07:56:06 +00:00
scudo [scudo] Android build support 2017-09-18 15:40:53 +00:00
tsan [tsan] Disable user_malloc test which fails glibc 2.24 2017-09-12 20:03:39 +00:00
ubsan ubsan: Unbreak ubsan_cxx runtime library on Windows. 2017-09-15 20:24:12 +00:00
ubsan_minimal [ubsan-minimal] Filter targets to test by host arch on Darwin 2017-09-13 21:57:47 +00:00
xray [XRay][compiler-rt] Handle tail-call exits in the XRay runtime 2017-09-18 06:18:03 +00:00
CMakeLists.txt [asan] Enable asan_and_llvm_coverage_test.cc on Android 2017-09-16 03:26:03 +00:00
lit.common.cfg [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00
lit.common.configured.in [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00