[PATCH] D24819: Statistic: Only print statistics on exit for -stats

Bruno Cardoso Lopes via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 13:52:12 PDT 2016


bruno added a comment.



> I was thinking of -stats-json as a stopgap measure until we have frontend integration. But sure we can keep it in, I must admit we should probably have it for the unittest anyway.


Why not something similar as the FE? That is, if "-stat=file" then default to json, otherwise default stderr output?


Repository:
  rL LLVM

https://reviews.llvm.org/D24819





More information about the llvm-commits mailing list