Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LinkerWrapper] Support time tracing in the linker wrapper
Summary: This patch adds the new `--wrapper-time-trace=` option to write a time tracing JSON file indicating where time was spent in the linker wrapper. We also reformat and group some of the existing code to make constraining the scope easier for time tracing. We use the `--wrapper` prefix to set this apart from the time tracing that lld may use.
- Loading branch information
Showing
2 changed files
with
125 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters