Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 436ca998ba8854107b08f9a02f55652e0745826b
https://github.com/WebKit/WebKit/commit/436ca998ba8854107b08f9a02f55652e0745826b
Author: Dan Glastonbury <[email protected]>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M Source/cmake/OptionsCommon.cmake
Log Message:
-----------
[CMake] Add -ftime-trace support
https://bugs.webkit.org/show_bug.cgi?id=312524
rdar://174963843
Reviewed by Geoffrey Garen, Pascoe, and Brandon Stewart.
Passing `-DCLANG_FTIME_TRACE=ON` will compile with clang's -ftime-trace,
producing per-TU JSON trace files alongside each .o file.
Usage:
cmake --preset mac-dev-release -DCLANG_FTIME_TRACE=ON
cmake --build WebKitBuild/cmake-mac/Release
Tools/Scripts/analyze-ftime-trace
WebKitBuild/cmake-mac/Release/Source/WebCore/CMakeFiles/WebCore.dir/
* Source/cmake/OptionsCommon.cmake:
Canonical link: https://commits.webkit.org/311434@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications