[llvm] r334610 - [llvm-mca] Flush the output stream before we start the analysis of a new code region. NFC
Andrea Di Biagio via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 13 08:43:56 PDT 2018
Author: adibiagio
Date: Wed Jun 13 08:43:56 2018
New Revision: 334610
URL: http://llvm.org/viewvc/llvm-project?rev=334610&view=rev
Log:
[llvm-mca] Flush the output stream before we start the analysis of a new code region. NFC
Modified:
llvm/trunk/tools/llvm-mca/llvm-mca.cpp
Modified: llvm/trunk/tools/llvm-mca/llvm-mca.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/llvm-mca.cpp?rev=334610&r1=334609&r2=334610&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/llvm-mca.cpp (original)
+++ llvm/trunk/tools/llvm-mca/llvm-mca.cpp Wed Jun 13 08:43:56 2018
@@ -523,6 +523,7 @@ int main(int argc, char **argv) {
B.run();
Printer.printReport(TOF->os());
+ TOF->os().flush();
}
TOF->keep();
More information about the llvm-commits
mailing list