[scudo] Add some logs for Android
authorKostya Kortchinsky <kostyak@google.com>
Fri, 6 Jul 2018 16:50:12 +0000 (16:50 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Fri, 6 Jul 2018 16:50:12 +0000 (16:50 +0000)
commit2efb847b6fd09dfdc3f3757d1d4175ae5549e822
tree2d832b0ad9009dc7eb2c929b16ca9e5cb345126d
parente85a300a77cf66921e949a4cf595eba52c637198
[scudo] Add some logs for Android

Summary:
Namely, set the abort message, and allow to write the message to syslog if the
option is enabled.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: delcypher, #sanitizers, llvm-commits

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

llvm-svn: 336445
compiler-rt/lib/scudo/scudo_utils.cpp