Cheetah Software
1.0
|
#include "include/Utilities/SegfaultHandler.h"
#include <cstdio>
#include <execinfo.h>
#include <csignal>
#include <cstdlib>
#include <unistd.h>
#include <cstring>
#include <include/Utilities/Utilities_print.h>
Go to the source code of this file.
Functions | |
static void | segfault_handler (int sig) |
void | install_segfault_handler () |
void install_segfault_handler | ( | ) |
Definition at line 25 of file SegfaultHandler.cpp.
References segfault_handler().
|
static |
Segfault handler to print stack trace on crash.
Definition at line 15 of file SegfaultHandler.cpp.
References fprintf_color(), and Red.