Bug 292343
| Summary: | WebKit code coverage mapping builds are broken with macOS 15.4 SDKs | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/150389712>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/44761
EWS
Committed 294363@main (5a3f0279e17c): <https://commits.webkit.org/294363@main>
Reviewed commits have been landed. Closing PR #44761 and removing active labels.