xref: /llvm-project/compiler-rt/lib/gwp_asan/optional/segv_handler_fuchsia.cpp (revision 98fe39df939ee6f1fd20b75edcc9fe0860b52dba)
1 //===-- segv_handler_fuchsia.cpp --------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "gwp_asan/optional/segv_handler.h"
10 
11 // GWP-ASan on Fuchsia doesn't currently support signal handlers.
12 
13 namespace gwp_asan {
14 namespace crash_handler {
15 void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */,
16                            Printf_t /* Printf */,
17                            PrintBacktrace_t /* PrintBacktrace */,
18                            SegvBacktrace_t /* SegvBacktrace */) {}
19 
20 void uninstallSignalHandlers() {}
21 } // namespace crash_handler
22 } // namespace gwp_asan
23