Bug 309318

Summary: [CMake][GLIB] Support PGO features in regular CMake builds with clang
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: CMakeAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Lauro Moura
Reported 2026-03-05 17:16:15 PST
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
Lauro Moura
Comment 1 2026-03-06 17:53:19 PST
EWS
Comment 2 2026-04-10 12:11:29 PDT
Committed 310954@main (94556bd2d2ae): <https://commits.webkit.org/310954@main> Reviewed commits have been landed. Closing PR #60115 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.