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 segv_handler { |
15 | void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */, |
16 | Printf_t /* Printf */, |
17 | backtrace::PrintBacktrace_t /* PrintBacktrace */, |
18 | backtrace::SegvBacktrace_t /* SegvBacktrace */, |
19 | bool /* Recoverable */) {} |
20 | |
21 | void uninstallSignalHandlers() {} |
22 | } // namespace segv_handler |
23 | } // namespace gwp_asan |
24 | |