]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/backtrace.h
Move all sources from the llvm project into contrib/llvm-project.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / compiler-rt / lib / gwp_asan / optional / backtrace.h
1 //===-- backtrace.h ---------------------------------------------*- 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 #ifndef GWP_ASAN_OPTIONAL_BACKTRACE_H_
10 #define GWP_ASAN_OPTIONAL_BACKTRACE_H_
11
12 #include "gwp_asan/options.h"
13
14 namespace gwp_asan {
15 namespace options {
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
22
23 #endif // GWP_ASAN_OPTIONAL_BACKTRACE_H_