0e3fac215d
BUG=skia: R=bsalomon@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/364033002
12 lines
403 B
C
12 lines
403 B
C
#ifndef CrashHandler_DEFINED
|
|
#define CrashHandler_DEFINED
|
|
|
|
// If possible (and not already done), and SK_CRASH_HANDLER is defined,
|
|
// register a handler for a stack trace when we crash.
|
|
//
|
|
// Currently this works on Linux and Mac and Windows, but on Linux, you will
|
|
// get much better results than we can deliver by running "catchsegv <program>".
|
|
void SetupCrashHandler();
|
|
|
|
#endif//CrashHandler_DEFINED
|