[webkit-changes] [WebKit/WebKit] 1a5c3c: Capture failure info in Thread::getRegisters() to ...

Commit Queue noreply at github.com
Wed Feb 26 01:18:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a5c3c5187299be266c841c3a9587d916da52255
      https://github.com/WebKit/WebKit/commit/1a5c3c5187299be266c841c3a9587d916da52255
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M Source/WTF/wtf/posix/ThreadingPOSIX.cpp

  Log Message:
  -----------
  Capture failure info in Thread::getRegisters() to help diagnose thread_get_state failures.
https://bugs.webkit.org/show_bug.cgi?id=288581
rdar://145637886

Reviewed by Yusuke Suzuki.

When thread_get_state fails, it would be good to know why in order to debug issues.
We'll now capture the kern_return_t in the crash info.

* Source/WTF/wtf/posix/ThreadingPOSIX.cpp:
(WTF::Thread::getRegisters):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list