Line data Source code
1 1 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : /// \file 5 : /// Formatter for Boost stacktrace, following these docs: 6 : /// https://www.boost.org/doc/libs/1_78_0/doc/html/stacktrace/getting_started.html#stacktrace.getting_started.global_control_over_stacktrace_o 7 : 8 : #pragma once 9 : 10 : #include <boost/stacktrace/stacktrace_fwd.hpp> 11 : #include <ostream> 12 : 13 0 : std::string abbreviated_symbol_name(const std::string& symbol_name); 14 : 15 0 : std::ostream& operator<<(std::ostream& os, 16 : const boost::stacktrace::stacktrace& backtrace);