• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 {
installSignalHandlers(gwp_asan::GuardedPoolAllocator *,Printf_t,PrintBacktrace_t,SegvBacktrace_t)15 void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */,
16                            Printf_t /* Printf */,
17                            PrintBacktrace_t /* PrintBacktrace */,
18                            SegvBacktrace_t /* SegvBacktrace */) {}
19 
uninstallSignalHandlers()20 void uninstallSignalHandlers() {}
21 } // namespace crash_handler
22 } // namespace gwp_asan
23