Disable Sigill crash analyzer on watchOS
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 11 Mar 2018 22:05:21 +0000 (22:05 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 11 Mar 2018 22:05:21 +0000 (22:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=183548
<rdar://problem/38338032>

Reviewed by Mark Lam.

Sigill is not supported on watchOS.

* runtime/Options.cpp:
(JSC::overrideDefaults):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/Options.cpp

index d24b408..02e308d 100644 (file)
@@ -1,3 +1,16 @@
+2018-03-11  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Disable Sigill crash analyzer on watchOS
+        https://bugs.webkit.org/show_bug.cgi?id=183548
+        <rdar://problem/38338032>
+
+        Reviewed by Mark Lam.
+
+        Sigill is not supported on watchOS.
+
+        * runtime/Options.cpp:
+        (JSC::overrideDefaults):
+
 2018-03-09  Filip Pizlo  <fpizlo@apple.com>
 
         Split DirectArguments into JSValueOOB and JSValueStrict parts
index bdfa6c7..c17ad18 100644 (file)
@@ -344,8 +344,10 @@ static void overrideDefaults()
     Options::smallHeapRAMFraction() = 0.8;
     Options::mediumHeapRAMFraction() = 0.9;
 
+#if !PLATFORM(WATCHOS)
     Options::useSigillCrashAnalyzer() = true;
 #endif
+#endif
 
 #if !ENABLE(SIGNAL_BASED_VM_TRAPS)
     Options::usePollingTraps() = true;