[asan] Disable handle_abort in Android tests.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 9 Sep 2016 18:43:24 +0000 (18:43 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 9 Sep 2016 18:43:24 +0000 (18:43 +0000)
commit627d78f6c2c19e3539193213fd9700c697991acf
treeb4d3c79b7aa8a53c31a33dd93e716459772e0973
parent22ce5eb051591b828b1ce4238624b6e95d334a5b
[asan] Disable handle_abort in Android tests.

The same thing is already done on Mac. handle_abort slows down tests
significantly because it triggers tombstone collection on Android;
also, it changes failed test outcome from "not-crash" to "crash" (as
in "bin/not --crash").

This change adds handle_abort=0 to asan options on android (test
only!), and also tweaks android_run.py to semi-correctly pass the
crash/no-crash status to the caller.

llvm-svn: 281075
compiler-rt/test/asan/TestCases/Linux/abort_on_error.cc
compiler-rt/test/asan/TestCases/atexit_stats.cc
compiler-rt/test/asan/android_commands/android_run.py
compiler-rt/test/asan/lit.cfg