summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-02-10 00:38:21 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-02-10 00:38:21 +0000
commit560b244c9bb2087693f9cf14826a4ecbf6c0f8bf (patch)
tree7b766190c1dc32ce018bf39ed2d8ca9cbbe5d5e0 /clang/lib/Frontend/CompilerInvocation.cpp
parent359006f192c9dd87dedff0e37858eacde8e1cf0d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud