1 //===-- backtrace_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/backtrace.h"
10 
11 // GWP-ASan on Fuchsia doesn't currently support backtraces.
12 
13 namespace gwp_asan {
14 namespace options {
getBacktraceFunction()15 Backtrace_t getBacktraceFunction() { return nullptr; }
getPrintBacktraceFunction()16 crash_handler::PrintBacktrace_t getPrintBacktraceFunction() { return nullptr; }
17 } // namespace options
18 
19 namespace crash_handler {
getSegvBacktraceFunction()20 SegvBacktrace_t getSegvBacktraceFunction() { return nullptr; }
21 } // namespace crash_handler
22 } // namespace gwp_asan
23