Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 84fdc0c7371506b94661a930eebfff38f98c6b35
      
https://github.com/WebKit/WebKit/commit/84fdc0c7371506b94661a930eebfff38f98c6b35
  Author: Ben Cohen <[email protected]>
  Date:   2026-10-11 (Sun, 11 Oct 2026)

  Changed paths:
    M Source/cmake/WebKitSwiftFlags.cmake

  Log Message:
  -----------
  [CMake] Pass -disable-round-trip-debug-types to Swift, as Xcode does
https://bugs.webkit.org/show_bug.cgi?id=327113

Reviewed by Adrian Taylor and Zak Ridouh.

323131@main added -Xfrontend -disable-round-trip-debug-types to 
OTHER_SWIFT_FLAGS in
CommonBase.xcconfig to work around a Swift debug-info crash on a captured 
mutable
variable of a namespaced C++ type such as IPC.Connection (rdar://189511928), 
but not
to the CMake build. Since 323222@main the Windows Debug build, whose Swift 
toolchain
has assertions enabled, aborts compiling 
WebBackForwardListMessageReceiver.swift:

    Abort: function getMangledName at swift\lib\IRGen\IRGenDebugInfo.cpp:1098
    Failed to reconstruct type for $sSo3IPCO10ConnectionVz_XxD

Mirror the Xcode flag in the global CMake Swift flags.

* Source/cmake/WebKitSwiftFlags.cmake:

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



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

Reply via email to