CrashHandler.h 385 B

1234567891011
  1. #ifndef CrashHandler_DEFINED
  2. #define CrashHandler_DEFINED
  3. // If possible (and not already done), and SK_CRASH_HANDLER is defined,
  4. // register a handler for a stack trace when we crash.
  5. //
  6. // Currently this works on Linux and Mac and Windows.
  7. // On Linux, our output is garbage compared to catchsegv. Use catchsegv if possible.
  8. void SetupCrashHandler();
  9. #endif//CrashHandler_DEFINED