Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6164db046c71ea7b60a19f3834165a27f1bf96df
      
https://github.com/WebKit/WebKit/commit/6164db046c71ea7b60a19f3834165a27f1bf96df
  Author: Adrian Taylor <adrian_tay...@apple.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M Source/bmalloc/libpas/src/libpas/pas_darwin_spi.h
    M Source/bmalloc/libpas/src/libpas/pas_scavenger.h
    M Source/bmalloc/libpas/src/libpas/pas_system_heap.h

  Log Message:
  -----------
  bmalloc header prerequisites for modularization
https://bugs.webkit.org/show_bug.cgi?id=295400
rdar://154946113

Reviewed by Elliott Williams.

These are the changes required to allow bmalloc (later) to be built as a clang
module. Such clang modules are built in independent compilation contexts, so
we need to be a little stricter about include rules. Details below.

* Source/bmalloc/libpas/src/libpas/pas_darwin_spi.h: This header
  redeclares some items from the stack_logging module, which isn't
  permitted if that module is available.
* Source/bmalloc/libpas/src/libpas/pas_scavenger.h: see below
* Source/bmalloc/libpas/src/libpas/pas_system_heap.h: these two
  headers include other headers within an extern "C" block,
  which requires special handling with clang modules. It does not
  appear to be possible to get this exactly right since it means
  some files could then *only* be included within such an
  extern "C" block, and that does not appear to be the intention
  here. Instead, move these includes to be outside the extern "C".

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to