![]() |
Home | Libraries | People | FAQ | More |
template<typename Allocator> class basic_stacktrace;
typedef basic_stacktrace ; // This is the typedef to use unless you'd like to provide a specific allocator to boost::stacktrace::basic_stacktrace.
template<typename Allocator1, typename Allocator2>
(basic_stacktrace< ,
basic_stacktrace< );
template<typename Allocator1, typename Allocator2>
(basic_stacktrace< ,
basic_stacktrace< );
// Comparison operators that provide platform dependant ordering and have amortized O(1) complexity; O(size()) worst case complexity; are Async-Handler-Safe.
template<typename Allocator1, typename Allocator2>
(basic_stacktrace< lhs,
basic_stacktrace< rhs);
template<typename Allocator1, typename Allocator2>
(basic_stacktrace< lhs,
basic_stacktrace< rhs);
template<typename Allocator1, typename Allocator2>
(basic_stacktrace< lhs,
basic_stacktrace< rhs);
template<typename Allocator1, typename Allocator2>
(basic_stacktrace< lhs,
basic_stacktrace< rhs);
// Fast hashing support, O(st.size()) complexity; Async-Handler-Safe.
template<typename Allocator>
(basic_stacktrace< st);
// Returns std::string with the stacktrace in a human readable format; unsafe to use in async handlers.
template<typename Allocator>
(basic_stacktrace< bt);
// Outputs stacktrace in a human readable format to the output stream os; unsafe to use in async handlers.
template<typename CharT, typename TraitsT, typename Allocator>
( os,
basic_stacktrace< bt);
}
}
Use <boost/stacktrace/frame.hpp> header instead of this one!
class frame;
}
}
// Comparison operators that provide platform dependant ordering and have O(1) complexity; are Async-Handler-Safe.
(frame & lhs, frame & rhs);
(frame & lhs, frame & rhs);
(frame & lhs, frame & rhs);
(frame & lhs, frame & rhs);
(frame & lhs, frame & rhs);
(frame & lhs, frame & rhs);
// Fast hashing support, O(1) complexity; Async-Handler-Safe.
(frame & f);
// Outputs stacktrace::frame in a human readable format to string; unsafe to use in async handlers.
(frame & f);
// Outputs stacktrace::frame in a human readable format to output stream; unsafe to use in async handlers.
template<typename CharT, typename TraitsT>
( os, frame & f);
}
}
This header contains low-level async-signal-safe functions for dumping call stacks. Dumps are binary serialized arrays of `void*`, so you could read them by using 'od -tx8 -An stacktrace_dump_failename' Linux command or using boost::stacktrace::stacktrace::from_dump functions.
(, );
(, , );
();
(, , );
();
(, ,
);
}
}
This header contains only forward declarations of boost::stacktrace::frame, boost::stacktrace::basic_stacktrace, boost::stacktrace::stacktrace and does not include any other Boost headers.