diff options
author | arcadia-devtools <[email protected]> | 2022-04-26 11:01:21 +0300 |
---|---|---|
committer | arcadia-devtools <[email protected]> | 2022-04-26 11:01:21 +0300 |
commit | c321d56b715aa8ca196cf373c98b02b83251b8bb (patch) | |
tree | 0dedcee57bf1b0d0e26268ad13aa27089dfdc0c6 /contrib/restricted/boost/stacktrace/src | |
parent | 2aee4cdb6025798e3aae85cc1eabe01140ef0d3b (diff) |
intermediate changes
ref:f69f306f165759314221f8c42c9dc3748f5ab986
Diffstat (limited to 'contrib/restricted/boost/stacktrace/src')
-rw-r--r-- | contrib/restricted/boost/stacktrace/src/backtrace.cpp | 19 | ||||
-rw-r--r-- | contrib/restricted/boost/stacktrace/src/basic.cpp | 18 | ||||
-rw-r--r-- | contrib/restricted/boost/stacktrace/src/windbg.cpp | 10 |
3 files changed, 47 insertions, 0 deletions
diff --git a/contrib/restricted/boost/stacktrace/src/backtrace.cpp b/contrib/restricted/boost/stacktrace/src/backtrace.cpp new file mode 100644 index 00000000000..00d440ff68d --- /dev/null +++ b/contrib/restricted/boost/stacktrace/src/backtrace.cpp @@ -0,0 +1,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> diff --git a/contrib/restricted/boost/stacktrace/src/basic.cpp b/contrib/restricted/boost/stacktrace/src/basic.cpp new file mode 100644 index 00000000000..f21cc4fca92 --- /dev/null +++ b/contrib/restricted/boost/stacktrace/src/basic.cpp @@ -0,0 +1,18 @@ +// 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 + +#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> diff --git a/contrib/restricted/boost/stacktrace/src/windbg.cpp b/contrib/restricted/boost/stacktrace/src/windbg.cpp new file mode 100644 index 00000000000..b58b3ea0f33 --- /dev/null +++ b/contrib/restricted/boost/stacktrace/src/windbg.cpp @@ -0,0 +1,10 @@ +// 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_LINK +#include <boost/stacktrace/detail/frame_msvc.ipp> +#include <boost/stacktrace/safe_dump_to.hpp> |