Thrill  0.1
backtrace.hpp File Reference
#include <tlx/define/attribute_format_printf.hpp>
#include <cstdio>
+ Include dependency graph for backtrace.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tlx
 

Functions

Stack Backtrace Printing
void print_raw_backtrace (FILE *out=stderr, unsigned int max_frames=63)
 Print a plain hex stack backtrace of the called function to FILE* out. More...
 
void print_raw_backtrace (FILE *out, unsigned int max_frames, const char *fmt,...) TLX_ATTRIBUTE_FORMAT_PRINTF(3
 Print a plain hex stack backtrace of the called function to FILE* out, prefixed with the given printf formatted output. More...
 
void print_cxx_backtrace (FILE *out=stderr, unsigned int max_frames=63)
 Print a demangled stack backtrace of the caller function to FILE* out. More...
 
void enable_segv_backtrace ()
 Install SIGSEGV signal handler and output backtrace on segmentation fault. More...