Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ac0919ca48b15918a56471ec19510a486942860
https://github.com/WebKit/WebKit/commit/7ac0919ca48b15918a56471ec19510a486942860
Author: David Kilzer <[email protected]>
Date: 2026-03-19 (Thu, 19 Mar 2026)
Changed paths:
M Configurations/Sanitizers.xcconfig
Log Message:
-----------
Fix Thread Sanitizer builds of TestWebKitAPI: ld: Too many personality
routines for compact unwind to encode
<https://bugs.webkit.org/show_bug.cgi?id=310288>
<rdar://172926718>
Reviewed by Elliott Williams.
Extend the fix from Bug 299224 (300615@main) to cover
`TestWebKitAPI` and `TestWebKitAPIBundle`. These targets now link
Swift source files, which introduces `__swift_exceptionPersonality`
as a fourth exception handling personality routine, exceeding the
compact unwind encoding limit.
Tested by building WebKit for Thread Sanitizer.
* Configurations/Sanitizers.xcconfig:
(WK_THREAD_SANITIZER_OTHER_LDFLAGS_TestWebKitAPI): Add.
(WK_THREAD_SANITIZER_OTHER_LDFLAGS_TestWebKitAPIBundle): Add.
- Add `-Wl,-no_compact_unwind` to OTHER_LDFLAGS when linking
TestWebKitAPI and TestWebKitAPIBundle to work around the error.
Canonical link: https://commits.webkit.org/309575@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications