1 //===-- backtrace.h ---------------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef GWP_ASAN_OPTIONAL_BACKTRACE_H_
10 #define GWP_ASAN_OPTIONAL_BACKTRACE_H_
12 #include "gwp_asan/options.h"
16 // Functions to get the platform-specific and implementation-specific backtrace
17 // and backtrace printing functions.
18 Backtrace_t getBacktraceFunction();
19 PrintBacktrace_t getPrintBacktraceFunction();
20 } // namespace options
21 } // namespace gwp_asan
23 #endif // GWP_ASAN_OPTIONAL_BACKTRACE_H_