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