11 #ifndef TLX_BACKTRACE_HEADER 12 #define TLX_BACKTRACE_HEADER 54 #endif // !TLX_BACKTRACE_HEADER
#define TLX_ATTRIBUTE_FORMAT_PRINTF(X, Y)
void print_cxx_backtrace(FILE *out, unsigned int max_frames)
Print a demangled stack backtrace of the caller function to FILE* out.
void print_raw_backtrace(FILE *out, unsigned int max_frames, const char *fmt,...)
Print a plain hex stack backtrace of the called function to FILE* out, prefixed with the given printf...
void enable_segv_backtrace()
Install SIGSEGV signal handler and output backtrace on segmentation fault.