|
void | vg::stacktrace_manually (ostream &out, int signalNumber, void *ip, void **bp) |
|
void | vg::emit_stacktrace (int signalNumber, siginfo_t *signalInfo, void *signalContext) |
| Emit a stack trace when something bad happens. Add as a signal handler with sigaction.
|
|
void | vg::enable_crash_handling () |
| Main should call this to turn on our stack tracing support.
|
|
void | vg::set_crash_context (const std::string &message) |
| User code should call this when it has context for a failure in its thread.
|
|
void | vg::clear_crash_context () |
| User code should call this when it wants to clear context for a failure in its thread.
|
|
void | vg::with_exception_handling (const std::function< void(void)> &body) |
| User code should call this to get all its exceptions handled.
|
|
void | vg::report_exception (const std::exception &ex) |
|
void | vg::crash_unless_impl (bool condition, const std::string &condition_string, const std::string &file, int line, const std::string &function) |
| crash_unless calls into this function for a real implementation.
|
|