[webkit-changes] [WebKit/WebKit] 1e5e1e: Fix ptrauth build error in Source/WTF/wtf/BlockPtr.h

Frédéric Wang noreply at github.com
Thu Sep 5 08:48:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e5e1e166abc3992b960a8b7c5c70fe78bebb187
      https://github.com/WebKit/WebKit/commit/1e5e1e166abc3992b960a8b7c5c70fe78bebb187
  Author: Frédéric Wang <fwang at igalia.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M Source/WTF/wtf/BlockPtr.h

  Log Message:
  -----------
  Fix ptrauth build error in Source/WTF/wtf/BlockPtr.h
https://bugs.webkit.org/show_bug.cgi?id=279119

Reviewed by Justin Michaud.

When I run `Tools/Scripts/build-and-analyze` on macOS with the public
SDK, I'm getting build errors in expansions of
WTF_COPY/DISPOSE/INVOKE_FUNCTION_POINTER_QUALIFIER macros.
ptrauth.h exists but __ptrauth_block_copy/dipose/invoke_helper functions
are undefined. Do something like https://commits.webkit.org/222290@main
and explicitly check whether the functions are defined.

* Source/WTF/wtf/BlockPtr.h:

Canonical link: https://commits.webkit.org/283210@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