[webkit-changes] [WebKit/WebKit] b19929: [PlayStation] BCRASH should trigger SIGTRAP instea...

Tomoki Imai noreply at github.com
Sun May 14 19:32:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b1992957c9f0a50a1ec6add28fbaf334a92e8246
      https://github.com/WebKit/WebKit/commit/b1992957c9f0a50a1ec6add28fbaf334a92e8246
  Author: Tomoki Imai <Tomoki.Imai at sony.com>
  Date:   2023-05-14 (Sun, 14 May 2023)

  Changed paths:
    M Source/bmalloc/bmalloc/BAssert.h

  Log Message:
  -----------
  [PlayStation] BCRASH should trigger SIGTRAP instead of accessing 0xbbadbeef
https://bugs.webkit.org/show_bug.cgi?id=256687

Reviewed by Yusuke Suzuki.

BCRASH on PlayStation accesses 0xbbadbeef to make a process crash.
On the other hand, WTF's CRASH triggers SIGTRAP, which is same as OS(DARWIN) case.

We should make BCRASH triggers SIGTRAP for the consistent behavior.

* Source/bmalloc/bmalloc/BAssert.h: Make BPLATFORM(PLAYSTATION) share the same implementation as BOS(DARWIN).

Canonical link: https://commits.webkit.org/264060@main




More information about the webkit-changes mailing list