[PATCH] D43136: Make LLVM timer reprintable: that is, make more than one print action on the same timer feasible

Graydon Hoare via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 11 23:06:23 PDT 2018


graydon added a comment.

Unfortunately this change is causing trouble over in swift where we _did_ rely on the fact that printing timers cleared them. In particular: we wanted to control printing the timers as json to our own chosen stats stream on shutdown (not the llvm one) and once printed, we did not expect them to print restart _again_ to stderr when llvm shuts down.

Is there some way we can either revert this change, or add a method that explicitly clears all timers?


Repository:
  rL LLVM

https://reviews.llvm.org/D43136





More information about the llvm-commits mailing list