OLD | NEW |
1 #ifndef CrashHandler_DEFINED | 1 #ifndef CrashHandler_DEFINED |
2 #define CrashHandler_DEFINED | 2 #define CrashHandler_DEFINED |
3 | 3 |
4 // If possible (and not already done), and SK_CRASH_HANDLER is defined, | 4 // If possible (and not already done), and SK_CRASH_HANDLER is defined, |
5 // register a handler for a stack trace when we crash. | 5 // register a handler for a stack trace when we crash. |
6 // | 6 // |
7 // Currently this works on Linux and Mac and Windows, but on Linux, you will | 7 // Currently this works on Linux and Mac and Windows. |
8 // get much better results than we can deliver by running "catchsegv <program>". | 8 // On Linux, our output is garbage compared to catchsegv. Use catchsegv if poss
ible. |
9 void SetupCrashHandler(); | 9 void SetupCrashHandler(); |
10 | 10 |
11 #endif//CrashHandler_DEFINED | 11 #endif//CrashHandler_DEFINED |
OLD | NEW |