Bug 292343

Summary: WebKit code coverage mapping builds are broken with macOS 15.4 SDKs
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 271055    
Bug Blocks: 297196    

David Kilzer (:ddkilzer)
Reported 2025-04-30 13:12:36 PDT
WebKit code coverage mapping builds are broken with macOS 15.4 (and aligned) SDKs. In Xcode, setting `CLANG_COVERAGE_MAPPING=YES` or adding these command-line switches: ``` OTHER_CFLAGS = $(inherited) -fprofile-instr-generate -fcoverage-mapping; OTHER_LDFLAGS = $(inherited) -fprofile-instr-generate; ``` Results in an internal compiler error with `set-webkit-configuration --coverage` and then building: ``` fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail ``` The open source clang/llvm fix is here: <https://github.com/llvm/llvm-project/pull/133177>
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-30 13:13:05 PDT
David Kilzer (:ddkilzer)
Comment 2 2025-04-30 13:51:56 PDT
EWS
Comment 3 2025-04-30 14:39:39 PDT
Committed 294363@main (5a3f0279e17c): <https://commits.webkit.org/294363@main> Reviewed commits have been landed. Closing PR #44761 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.