summaryrefslogtreecommitdiff
path: root/gwp_asan/optional/segv_handler_fuchsia.cpp
blob: 966d7d0bd9962cd4b419635d5be2e697345c0f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===-- segv_handler_fuchsia.cpp --------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "gwp_asan/optional/segv_handler.h"

// GWP-ASan on Fuchsia doesn't currently support signal handlers.

namespace gwp_asan {
namespace segv_handler {
void installSignalHandlers(gwp_asan::GuardedPoolAllocator * /* GPA */,
                           Printf_t /* Printf */,
                           backtrace::PrintBacktrace_t /* PrintBacktrace */,
                           backtrace::SegvBacktrace_t /* SegvBacktrace */) {}

void uninstallSignalHandlers() {}
} // namespace segv_handler
} // namespace gwp_asan