[webkit-changes] [WebKit/WebKit] 0806bf: Avoid using x18 in WTF/libPAS assertions

Commit Queue noreply at github.com
Wed Jan 31 09:59:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0806bfc07433d48ef4c18127332eeb2ecfce4aa9
      https://github.com/WebKit/WebKit/commit/0806bfc07433d48ef4c18127332eeb2ecfce4aa9
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M Source/WTF/wtf/Assertions.cpp
    M Source/bmalloc/libpas/src/libpas/pas_utils.c

  Log Message:
  -----------
  Avoid using x18 in WTF/libPAS assertions
https://bugs.webkit.org/show_bug.cgi?id=268421
rdar://121969027

Reviewed by Michael Saboff and Justin Michaud.

Stops using x18 as an error-reporting register in libPAS
and WTF, since it's reserved by the ARM64 calling convention
and shouldn't be clobbered by userspace programs.

* Source/WTF/wtf/Assertions.cpp:
* Source/bmalloc/libpas/src/libpas/pas_utils.c:

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




More information about the webkit-changes mailing list