[PATCH] D32803: [LTO] Print time-passes information at conclusion of LTO codegen

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 02:56:29 PDT 2017


jhenderson added inline comments.


================
Comment at: lib/IR/LegacyPassManager.cpp:15
 #include "llvm/IR/LegacyPassManager.h"
+#include "llvm/ADT/Statistic.h"
 #include "llvm/IR/IRPrintingPasses.h"
----------------
mehdi_amini wrote:
> Why this?
The new print() method of the TimingInfo class calls CreateInfoOutputFile to get a stream to print to, which is declared in that header.


https://reviews.llvm.org/D32803





More information about the llvm-commits mailing list