summaryrefslogtreecommitdiffstats
path: root/src/util.h
blob: d0f081545364c0c02b60e3e88e9d04630660a38b (plain)
1
2
3
4
5
6
7
8
9


// Dump a backtrace to stderr.
// |skip_frames| is how many frames to skip;
// DumpBacktrace implicitly skips itself already.
void DumpBacktrace(int skip_frames);

// Log a fatal message, dump a backtrace, and exit.
void Fatal(const char* msg, ...);