[PATCH] D41915: [lldCOFF] Print detailed timing information with /VERBOSE
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 13:13:47 PST 2018
zturner created this revision.
zturner added a reviewer: ruiu.
When passing /VERBOSE, lld will now print detailed timing information about the various linking phases. For example, when linking clang with /verbose, I get this output:
Timing:
Code Layout Time: ( 1.38%) 229 ms
Commit Output File: ( 0.09%) 15 ms
PDB Emission (Cumulative): ( 96.03%) 15969 ms
Globals Stream Layout: ( 1.18%) 197 ms
Symbol Merging: ( 26.26%) 4367 ms
Type Merging: ( 36.94%) 6142 ms
TPI Stream Layout: ( 6.95%) 1155 ms
Commit to Disk: ( 18.65%) 3101 ms
-----------------------------------------------
Total Link Time: (100.00%) 16629 ms
https://reviews.llvm.org/D41915
Files:
lld/COFF/Config.h
lld/COFF/PDB.cpp
lld/COFF/Writer.cpp
lld/include/lld/Common/LinkTimer.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41915.129327.patch
Type: text/x-patch
Size: 9249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180110/30b130a6/attachment.bin>
More information about the llvm-commits
mailing list