hanchenye-llvm-project/compiler-rt
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
..
cmake [scudo] Android build support 2017-09-18 15:40:53 +00:00
docs
include [XRay][compiler-rt] Handle tail-call exits in the XRay runtime 2017-09-18 06:18:03 +00:00
lib Revert "[ubsan] Add RTUbsan_standalone into UBSAN standalone shared" 2017-09-18 08:15:00 +00:00
test [scudo] Android build support 2017-09-18 15:40:53 +00:00
unittests Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
www
.arcconfig
.gitignore Add .pyc files to .gitignore to compiler-rt 2017-07-24 21:51:12 +00:00
CMakeLists.txt [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt

README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================