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