Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 87e9665224c3b53c84a8fbdb7516db26a1539515
https://github.com/WebKit/WebKit/commit/87e9665224c3b53c84a8fbdb7516db26a1539515
Author: Simon Lewis <[email protected]>
Date: 2026-07-09 (Thu, 09 Jul 2026)
Changed paths:
M Tools/TestWebKitAPI/PlatformMac.cmake
Log Message:
-----------
[CMake] Build fix for Mac ASan
https://bugs.webkit.org/show_bug.cgi?id=318930
rdar://181763817
Reviewed by Keith Miller and David Kilzer.
WEBKIT_TEST_ENABLE_SWIFT (Tools/TestWebKitAPI/PlatformMac.cmake) adds
Swift sources to every Test* executable, which flips the link driver to swiftc.
CMake's Swift executable link ignores CMAKE_EXE_LINKER_FLAGS, so
-fsanitize=address
(set in WebKitCompilerFlags.cmake:427) never reached the link line — C++ objects
were instrumented but the ASan runtime wasn't linked
* Tools/TestWebKitAPI/PlatformMac.cmake:
Canonical link: https://commits.webkit.org/316822@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications