diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-02-10 00:38:21 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-02-10 00:38:21 +0000 |
commit | 560b244c9bb2087693f9cf14826a4ecbf6c0f8bf (patch) | |
tree | 7b766190c1dc32ce018bf39ed2d8ca9cbbe5d5e0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 359006f192c9dd87dedff0e37858eacde8e1cf0d (diff) | |
download | bcm5719-llvm-560b244c9bb2087693f9cf14826a4ecbf6c0f8bf.tar.gz bcm5719-llvm-560b244c9bb2087693f9cf14826a4ecbf6c0f8bf.zip |
Make LLVM timer reprintable: that is, make more than one print action on the same timer feasible
Currently, each LLVM timer can be only printed once, as the act of
printing clears the timer.
Moreover, the current printing mechanism implicitly assumes that the
timer is stopped -- and prints zero otherwise.
This patch relaxes this assumption and makes printing statistics
multiple time a possibility.
Differential Revision: https://reviews.llvm.org/D43136
llvm-svn: 324788
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions