aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/stacktrace/src/backtrace.cpp
blob: 00d440ff68ddaebda036fc9ea9cf4f91dfad32ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Antony Polukhin, 2016-2020.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#define BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
#define BOOST_STACKTRACE_USE_BACKTRACE

#ifndef BOOST_STACKTRACE_LINK
#error BOOST_STACKTRACE_LINK must be defined
#endif

#ifndef _GNU_SOURCE
#   define _GNU_SOURCE
#endif

#include <boost/stacktrace/detail/frame_unwind.ipp>
#include <boost/stacktrace/safe_dump_to.hpp>