1 #ifndef MSP_DEBUG_BACKTRACE_H_
2 #define MSP_DEBUG_BACKTRACE_H_
7 #include <msp/core/mspcore_api.h>
12 class MSPCORE_API Backtrace
17 void *address = nullptr;
23 std::vector<StackFrame> frames;
26 const std::vector<StackFrame> &get_frames() const { return frames; }
28 static Backtrace create();
31 MSPCORE_API std::ostream &operator<<(std::ostream &, const Backtrace &);
32 MSPCORE_API std::ostream &operator<<(std::ostream &, const Backtrace::StackFrame &);