summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-13 15:43:56 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-06-13 15:43:56 +0000
commitf6ee0c9071c1de7c9fc9e81917dcd9ef9b6045d6 (patch)
tree9422ae5eaea79234eabac57ea431413ff4262fe0 /llvm/tools/llvm-mca
parentffbee7acdcaafad1cddd4cdac060905922f93cfd (diff)
downloadbcm5719-llvm-f6ee0c9071c1de7c9fc9e81917dcd9ef9b6045d6.tar.gz
bcm5719-llvm-f6ee0c9071c1de7c9fc9e81917dcd9ef9b6045d6.zip
[llvm-mca] Flush the output stream before we start the analysis of a new code region. NFC
llvm-svn: 334610
Diffstat (limited to 'llvm/tools/llvm-mca')
-rw-r--r--llvm/tools/llvm-mca/llvm-mca.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp
index 925584b0193..9abbbda1a5d 100644
--- a/llvm/tools/llvm-mca/llvm-mca.cpp
+++ b/llvm/tools/llvm-mca/llvm-mca.cpp
@@ -523,6 +523,7 @@ int main(int argc, char **argv) {
B.run();
Printer.printReport(TOF->os());
+ TOF->os().flush();
}
TOF->keep();
OpenPOWER on IntegriCloud