Changeset 245369 in webkit


Ignore:
Timestamp:
May 15, 2019 6:30:18 PM (5 years ago)
Author:
Ross Kirsling
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.

Location:
trunk/Source/WTF
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r245336 r245369  
     12019-05-15  Ross Kirsling  <ross.kirsling@sony.com>
     2
     3        [PlayStation] WTFCrash should preserve register state.
     4        https://bugs.webkit.org/show_bug.cgi?id=197932
     5
     6        Reviewed by Don Olmstead.
     7
     8        * wtf/Assertions.cpp:
     9        * wtf/Assertions.h:
     10        Let r196397 apply to PlayStation port as well.
     11
    1122019-05-15  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Source/WTF/wtf/Assertions.cpp

    r243141 r245369  
    296296}
    297297
    298 #if !defined(NDEBUG) || !OS(DARWIN)
     298#if !defined(NDEBUG) || !(OS(DARWIN) || PLATFORM(PLAYSTATION))
    299299void WTFCrash()
    300300{
     
    320320    CRASH();
    321321}
    322 #endif // !defined(NDEBUG) || !OS(DARWIN)
     322#endif // !defined(NDEBUG) || !(OS(DARWIN) || PLATFORM(PLAYSTATION))
    323323
    324324void WTFCrashWithSecurityImplication()
  • trunk/Source/WTF/wtf/Assertions.h

    r244818 r245369  
    236236#ifndef CRASH
    237237
    238 #if defined(NDEBUG) && OS(DARWIN)
     238#if defined(NDEBUG) && (OS(DARWIN) || PLATFORM(PLAYSTATION))
    239239// Crash with a SIGTRAP i.e EXC_BREAKPOINT.
    240240// We are not using __builtin_trap because it is only guaranteed to abort, but not necessarily
Note: See TracChangeset for help on using the changeset viewer.