avt77 added a comment. In https://reviews.llvm.org/D45619#1192803, @craig.topper wrote:
> 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? Historically, it was done to get compilation times for separate files (to find the longest times). Because of that I did not assume usage of -fsyntax-only. Is it important? Should I move this activity into another place? If YES could you give me a hint where it should be done? Repository: rL LLVM https://reviews.llvm.org/D45619 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits