Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f29f98034b45ee0454e3e6d4cd8b86f2bdb27dcb
      
https://github.com/WebKit/WebKit/commit/f29f98034b45ee0454e3e6d4cd8b86f2bdb27dcb
  Author: Geoffrey Garen <[email protected]>
  Date:   2026-05-31 (Sun, 31 May 2026)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    A Source/WebCore/WebCoreRenderStyleInlinesPrefix.h
    M Source/WebCore/rendering/style/BorderData.cpp
    M Source/WebCore/rendering/style/BorderData.h
    M Source/WebCore/style/values/color/StyleDynamicRangeLimit.cpp
    M Source/WebCore/style/values/color/StyleDynamicRangeLimit.h
    M Source/cmake/WebKitMacros.cmake

  Log Message:
  -----------
  [CMake] Add a prefix header for @header:RenderStyleGetters
https://bugs.webkit.org/show_bug.cgi?id=315956
rdar://178383013

Reviewed by David Kilzer.

RenderStyle+GettersInlines.h and RenderStyle+SettersInlines.h take on
the order of 3s - 6s in every translation unit that includes them.

Long term I hope we can fix this, but for now we can work around it
with a prefix header.

* Source/WebCore/WebCoreRenderStyleInlinesPrefix.h: Added. The new
prefix header.

* Source/cmake/WebKitMacros.cmake:
* Source/WebCore/CMakeLists.txt: The new sub-target for the prefix header.

* Source/WebCore/rendering/style/BorderData.cpp:
* Source/WebCore/rendering/style/BorderData.h:
* Source/WebCore/style/values/color/StyleDynamicRangeLimit.cpp:
* Source/WebCore/style/values/color/StyleDynamicRangeLimit.h: Out-of-line
four inline functions whose generic-lambda bodies crash clang's pch_obj
mangler when built with -fpch-debuginfo -building-pch-with-obj
(rdar://178383013).

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



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

Reply via email to