commit | 554357b62362c3dc91115fece2e6b16e68e07851 | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Fri Jul 15 23:08:22 2016 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Fri Jul 15 23:08:22 2016 +0000 |
tree | 914c0cd00a20bb501f20948cc71169c855964ee8 | |
parent | dab35bd67fd93194e1e41cbc4bd6c6a28705be64 [diff] [blame] |
[llvm-cov] Attempt to appease Windows bots They appear to reject r275640 because stdin is held open during an ExecuteAndWait in which it's redirected: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/8390 llvm-svn: 275642
diff --git a/llvm/tools/llvm-cov/CodeCoverage.cpp b/llvm/tools/llvm-cov/CodeCoverage.cpp index 2ceaa1f..e9346cd 100644 --- a/llvm/tools/llvm-cov/CodeCoverage.cpp +++ b/llvm/tools/llvm-cov/CodeCoverage.cpp
@@ -327,7 +327,7 @@ InputTOF.os() << Function.Name << '\n'; ++NumSymbols; } - InputTOF.os().flush(); + InputTOF.os().close(); // Use another temporary file to store the demangler's output. int OutputFD; @@ -339,6 +339,7 @@ return; } tool_output_file OutputTOF{OutputPath, OutputFD}; + OutputTOF.os().close(); // Invoke the demangler. std::vector<const char *> ArgsV;