[PATCH] D45619: [Time-report] (1) Use special new Clang flag 'FrontendTimesIsEnabled' instead of 'llvm::TimePassesIsEnabled' inside -ftime-report feature

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 11:58:11 PDT 2018


efriedma added a comment.

Oh, oops, I should have spotted that.  No, the point of this was to separate the timing infrastructure, not to change the behavior of -ftime-report.

Should be a one-line change to add "llvm::TimePassesIsEnabled = TimePasses" back to BackendConsumer::BackendConsumer.  (Maybe we can add flags to control them separately as a followup.)


Repository:
  rL LLVM

https://reviews.llvm.org/D45619





More information about the llvm-commits mailing list