xref: /llvm-project/compiler-rt/lib/gwp_asan/optional/segv_handler_fuchsia.cpp (revision 35b5499d7259ac3e5c648a711678290695703a87)
198fe39dfSKostya Kortchinsky //===-- segv_handler_fuchsia.cpp --------------------------------*- C++ -*-===//
298fe39dfSKostya Kortchinsky //
398fe39dfSKostya Kortchinsky // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
498fe39dfSKostya Kortchinsky // See https://llvm.org/LICENSE.txt for license information.
598fe39dfSKostya Kortchinsky // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
698fe39dfSKostya Kortchinsky //
798fe39dfSKostya Kortchinsky //===----------------------------------------------------------------------===//
898fe39dfSKostya Kortchinsky 
998fe39dfSKostya Kortchinsky #include "gwp_asan/optional/segv_handler.h"
1098fe39dfSKostya Kortchinsky 
1198fe39dfSKostya Kortchinsky // GWP-ASan on Fuchsia doesn't currently support signal handlers.
1298fe39dfSKostya Kortchinsky 
1398fe39dfSKostya Kortchinsky namespace gwp_asan {
14a8520f69SMitch Phillips namespace segv_handler {
installSignalHandlers(gwp_asan::GuardedPoolAllocator *,Printf_t,backtrace::PrintBacktrace_t,backtrace::SegvBacktrace_t,bool)1598fe39dfSKostya Kortchinsky void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */,
1698fe39dfSKostya Kortchinsky                            Printf_t /* Printf */,
17a8520f69SMitch Phillips                            backtrace::PrintBacktrace_t /* PrintBacktrace */,
18*35b5499dSMitch Phillips                            backtrace::SegvBacktrace_t /* SegvBacktrace */,
19*35b5499dSMitch Phillips                            bool /* Recoverable */) {}
2098fe39dfSKostya Kortchinsky 
uninstallSignalHandlers()2198fe39dfSKostya Kortchinsky void uninstallSignalHandlers() {}
22a8520f69SMitch Phillips } // namespace segv_handler
2398fe39dfSKostya Kortchinsky } // namespace gwp_asan
24