[GWP-ASan] Stub out backtrace/signal functions on Fuchsia
authorKostya Kortchinsky <kostyak@google.com>
Sat, 31 Oct 2020 18:09:29 +0000 (11:09 -0700)
committerKostya Kortchinsky <kostyak@google.com>
Mon, 2 Nov 2020 21:49:50 +0000 (13:49 -0800)
commit98fe39df939ee6f1fd20b75edcc9fe0860b52dba
tree367db7d4649706866ade8222c87b4387acc97d7b
parent5ece2115d85326e3b24336a7ccb4c191932ccb4a
[GWP-ASan] Stub out backtrace/signal functions on Fuchsia

The initial version of GWP-ASan on Fuchsia doesn't support crash and
signal handlers, so this just adds empty stubs to be able to compile
the project on the platform.

Differential Revision: https://reviews.llvm.org/D90537
compiler-rt/lib/gwp_asan/optional/backtrace_fuchsia.cpp [new file with mode: 0644]
compiler-rt/lib/gwp_asan/optional/segv_handler_fuchsia.cpp [new file with mode: 0644]