We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d50f2b8 commit d58a710Copy full SHA for d58a710
include/core/SkPostConfig.h
@@ -114,7 +114,7 @@
114
115
#ifndef SK_CRASH
116
# if 1 // set to 0 for infinite loop, which can help connecting gdb
117
-# define SK_CRASH() do { SkNO_RETURN_HINT(); *(int *)(uintptr_t)0xbbadbeef = 0; } while (false)
+# define SK_CRASH() do { SkNO_RETURN_HINT(); abort(); } while (false)
118
# else
119
# define SK_CRASH() do { SkNO_RETURN_HINT(); } while (true)
120
# endif
0 commit comments