-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathboost_stacktrace_basic.cppm
More file actions
50 lines (38 loc) · 1.15 KB
/
boost_stacktrace_basic.cppm
File metadata and controls
50 lines (38 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright Antony Polukhin, 2025-2026.
// Copyright Fedor Osetrov, 2025-2026.
//
// 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)
module;
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <boost/config.hpp>
#include <boost/core/no_exceptions_support.hpp>
#include <boost/core/demangle.hpp>
#include <boost/core/noncopyable.hpp>
#include <boost/container_hash/hash_fwd.hpp>
#include <boost/predef.h>
#if !defined(BOOST_STACKTRACE_USE_STD_MODULE)
#include <vector>
#include <fstream>
#include <sstream>
#include <cxxabi.h>
#endif
#include <dlfcn.h>
#define BOOST_STACKTRACE_INTERFACE_UNIT
#define BOOST_STACKTRACE_LINK
export module boost.stacktrace.basic;
#if defined(BOOST_STACKTRACE_USE_STD_MODULE)
import std;
#endif
import boost.stacktrace.dump;
#ifdef __clang__
# pragma clang diagnostic ignored "-Winclude-angled-in-module-purview"
#endif
#include <boost/stacktrace/stacktrace.hpp>
#include <boost/stacktrace/this_thread.hpp>
module :private;
#define BOOST_STACKTRACE_INTERNAL_BUILD_LIBS
#include <boost/stacktrace/detail/frame_unwind.ipp>