Title: [245369] trunk/Source/WTF
Revision
245369
Author
[email protected]
Date
2019-05-15 18:30:18 -0700 (Wed, 15 May 2019)

Log Message

[PlayStation] WTFCrash should preserve register state.
https://bugs.webkit.org/show_bug.cgi?id=197932

Reviewed by Don Olmstead.

* wtf/Assertions.cpp:
* wtf/Assertions.h:
Let r196397 apply to PlayStation port as well.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (245368 => 245369)


--- trunk/Source/WTF/ChangeLog	2019-05-15 23:50:34 UTC (rev 245368)
+++ trunk/Source/WTF/ChangeLog	2019-05-16 01:30:18 UTC (rev 245369)
@@ -1,3 +1,14 @@
+2019-05-15  Ross Kirsling  <[email protected]>
+
+        [PlayStation] WTFCrash should preserve register state.
+        https://bugs.webkit.org/show_bug.cgi?id=197932
+
+        Reviewed by Don Olmstead.
+
+        * wtf/Assertions.cpp:
+        * wtf/Assertions.h:
+        Let r196397 apply to PlayStation port as well.
+
 2019-05-15  Simon Fraser  <[email protected]>
 
         Make LOG_WITH_STREAM more efficient

Modified: trunk/Source/WTF/wtf/Assertions.cpp (245368 => 245369)


--- trunk/Source/WTF/wtf/Assertions.cpp	2019-05-15 23:50:34 UTC (rev 245368)
+++ trunk/Source/WTF/wtf/Assertions.cpp	2019-05-16 01:30:18 UTC (rev 245369)
@@ -295,7 +295,7 @@
     out.print(stackTrace);
 }
 
-#if !defined(NDEBUG) || !OS(DARWIN)
+#if !defined(NDEBUG) || !(OS(DARWIN) || PLATFORM(PLAYSTATION))
 void WTFCrash()
 {
     WTFReportBacktrace();
@@ -319,7 +319,7 @@
 {
     CRASH();
 }
-#endif // !defined(NDEBUG) || !OS(DARWIN)
+#endif // !defined(NDEBUG) || !(OS(DARWIN) || PLATFORM(PLAYSTATION))
 
 void WTFCrashWithSecurityImplication()
 {

Modified: trunk/Source/WTF/wtf/Assertions.h (245368 => 245369)


--- trunk/Source/WTF/wtf/Assertions.h	2019-05-15 23:50:34 UTC (rev 245368)
+++ trunk/Source/WTF/wtf/Assertions.h	2019-05-16 01:30:18 UTC (rev 245369)
@@ -235,7 +235,7 @@
 
 #ifndef CRASH
 
-#if defined(NDEBUG) && OS(DARWIN)
+#if defined(NDEBUG) && (OS(DARWIN) || PLATFORM(PLAYSTATION))
 // Crash with a SIGTRAP i.e EXC_BREAKPOINT.
 // We are not using __builtin_trap because it is only guaranteed to abort, but not necessarily
 // trigger a SIGTRAP. Instead, we use inline asm to ensure that we trigger the SIGTRAP.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to