[asan] abort_on_error=1 by default on Android.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 11 Aug 2016 00:26:29 +0000 (00:26 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 11 Aug 2016 00:26:29 +0000 (00:26 +0000)
commit851378831e5f55a40582c63eaf007ff22a0df77b
tree7de4e6f2f430b94c489d85ad88fbca2de0735a49
parentca5de9d9e3a30f997708cb614297dd8ca7082063
[asan] abort_on_error=1 by default on Android.

With this change, the default behavior on error is to call abort()
instead of _exit(). This should help the OS to capture a tombstone of
the error.

RAM usage of the lit test suite goes up because of all the tombstone
gathering, so I'm limiting the parallelism of the test target.
Previously it was based on the number of the CPUs on the host
machine, which is definitely wrong.

llvm-svn: 278308
compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
compiler-rt/test/asan/CMakeLists.txt