[GWP-ASan] Use weak abort message definition.
authorMitch Phillips <31459023+hctim@users.noreply.github.com>
Thu, 6 Feb 2020 18:35:42 +0000 (10:35 -0800)
committerMitch Phillips <31459023+hctim@users.noreply.github.com>
Thu, 6 Feb 2020 18:36:25 +0000 (10:36 -0800)
commit8d19af685c9b1ba50df0ed739dbfffd0aa7686ee
tree5468b3c02b4b3e8691a0a4f084200d1d8e9a8eaf
parent4ed205c816e9a34de938525b28d6151adf912fe1
[GWP-ASan] Use weak abort message definition.

Summary:
New shard out of the Check() function for GWP-ASan uses
android_set_abort_message. This is happily present on bionic Android,
but not Android for glibc host x86. Fix up to use the weak definition
always, so we don't have to worry.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: #sanitizers, llvm-commits, pcc, cferris

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D74142
compiler-rt/lib/gwp_asan/definitions.h
compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp