[hwasan] Don't handle signals on Android.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 5 Sep 2018 22:46:19 +0000 (22:46 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 5 Sep 2018 22:46:19 +0000 (22:46 +0000)
commit6afce6a4382c9f20ad06751ba213e844d5af435c
tree8a4ddc3f60bad1833cb4b347784b6f6bd69cdd5e
parent5159bbad8b2b3abbdda768eef64015bdd59293c6
[hwasan] Don't handle signals on Android.

Sigtrap is used for error reporting, but all other signals are better
left for the platform.

In particular, sanitizer signal handlers do not dump registers or
memory which makes debugging harder for no good reason.

llvm-svn: 341500
compiler-rt/lib/hwasan/hwasan.cc