[PATCH] D41915: [lldCOFF] Print detailed timing information with /VERBOSE

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 22:12:31 PST 2018


zturner added inline comments.


================
Comment at: lld/COFF/Driver.cpp:50
 
+static Timer InputFileTimer("Input File Reading");
+
----------------
ruiu wrote:
> Can you remove `addChildTimer` if you pass a parent timer to the constructor?
No because we don't want every timer to be enabled always.  Only if a certain branch of code is run (for example we only want to add PDB timers if /DEBUG is specified)


https://reviews.llvm.org/D41915





More information about the llvm-commits mailing list