Bug 309318
| Summary: | [CMake][GLIB] Support PGO features in regular CMake builds with clang | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | CMake | Assignee: | Lauro Moura <lmoura> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lauro Moura
We already have some support for PGO instrumentation through the ENABLE_LLVM_PROFILE_GENERATION cmake options, but we're missing actually passing the required flags to clang in cmake builds. We should support both instrumented builds (-fprofile-generate) and optimized builds (-fprofile-use).
Patch incoming.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/60115
EWS
Committed 310954@main (94556bd2d2ae): <https://commits.webkit.org/310954@main>
Reviewed commits have been landed. Closing PR #60115 and removing active labels.