aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-01-22 06:50:25 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-22 06:50:25 -0800
commitaa97a84404c7505738713a4c19b42347c7daef9e (patch)
treec78f46c5226d73ffeb29e828d60eed196fa7f21d /include/config
parent7df3f5e127f8016d17b637cc48a6a4718f1a6822 (diff)
Revert of Consolidate SK_CRASH and sk_throw into SK_ABORT (patchset #5 id:80001 of https://codereview.chromium.org/1610823002/ )
Reason for revert: Chrome is calling SK_CRASH Original issue's description: > Consolidate SK_CRASH and sk_throw into SK_ABORT > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1610823002 > > Committed: https://skia.googlesource.com/skia/+/4c5cd7d527ed29aabfa72aa47b23a4496eeda357 TBR=reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1620333002
Diffstat (limited to 'include/config')
-rw-r--r--include/config/SkUserConfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index a0f6258281..ff8a5f3154 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -58,6 +58,13 @@
//#define SK_DEBUG_GLYPH_CACHE
//#define SK_DEBUG_PATH
+/* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger)
+ it will call SK_CRASH(). If this is not defined it, it is defined in
+ SkPostConfig.h to write to an illegal address
+ */
+//#define SK_CRASH() *(int *)(uintptr_t)0 = 0
+
+
/* preconfig will have attempted to determine the endianness of the system,
but you can change these mutually exclusive flags here.
*/