[llvm] r334617 - Revert: [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 09:33:53 PDT 2018


Author: adibiagio
Date: Wed Jun 13 09:33:52 2018
New Revision: 334617

URL: http://llvm.org/viewvc/llvm-project?rev=334617&view=rev
Log:
Revert: [llvm-mca] Flush the output stream before we start the analysis of a new code region. NFC

Not sure why, but it breaks buildbot clang-cmake-armv8-full.
It causes a failure in TEST 'Xray-armhf-linux :: TestCases/Posix/profiling-single-threaded.cc'.


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=334617&r1=334616&r2=334617&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/llvm-mca.cpp (original)
+++ llvm/trunk/tools/llvm-mca/llvm-mca.cpp Wed Jun 13 09:33:52 2018
@@ -523,7 +523,6 @@ 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