aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/CrashHandler.h
blob: 6c22c8ee705836cebba5cca94aacf7b5496d8fa0 (plain)
1
2
3
4
5
6
7
8
9
#ifndef CrashHandler_DEFINED
#define CrashHandler_DEFINED

// If possible (and not already done) register a handler for a stack trace when we crash.
// Currently this works on Linux and Mac, hopefully Windows soon.
// On Linux, you will get much better results than we can deliver by running "catchsegv <program>".
void SetupCrashHandler();

#endif//CrashHandler_DEFINED