[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 14:21:09 PST 2018


zturner updated this revision to Diff 129342.
zturner added a comment.

- Moved the printing and collection of this information out of /VERBOSE and into a new option, /SHOWTIMING.

- Removed a few explicit calls to `Timer.end()` where RAII-style end would work (the class already calls `end()` in its destructor anyway).  A few calls to `end()` are still explicit, where we need to do it in the middle of a function.

- Moved the statistics out of the `Config` class and into a separate class called `TimingInfo`, which is created in `Writer` and passed through to the PDB linker.


https://reviews.llvm.org/D41915

Files:
  lld/COFF/Config.h
  lld/COFF/Driver.cpp
  lld/COFF/Options.td
  lld/COFF/PDB.cpp
  lld/COFF/PDB.h
  lld/COFF/Writer.cpp
  lld/COFF/Writer.h
  lld/include/lld/Common/LinkTimer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41915.129342.patch
Type: text/x-patch
Size: 12377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180110/337dba15/attachment.bin>


More information about the llvm-commits mailing list