[PATCH] D45619: [Time-report] (1) Use special new Clang flag 'FrontendTimesIsEnabled' instead of 'llvm::TimePassesIsEnabled' inside -ftime-report feature
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 8 12:06:59 PDT 2018
craig.topper added a comment.
Ok I'll add that back.
I'm unclear why the we would want to assign clang's FrontendTimesIsEnabled from inside CodeGenAction. If I'm understanding the intentions here, the goal was to add more timing infrastructure to clang. But if the enabling is tied to CodeGenAction, then doesn't that mean any new clang timers wouldn't work under -fsyntax-only?
Repository:
rL LLVM
https://reviews.llvm.org/D45619
More information about the llvm-commits
mailing list