1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[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
This commit is contained in:
Vedant Kumar 2016-07-15 23:08:22 +00:00
parent d2062f3ddf
commit 4a78d889ac

View File

@ -327,7 +327,7 @@ void CodeCoverageTool::demangleSymbols(const CoverageMapping &Coverage) {
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 @@ void CodeCoverageTool::demangleSymbols(const CoverageMapping &Coverage) {
return;
}
tool_output_file OutputTOF{OutputPath, OutputFD};
OutputTOF.os().close();
// Invoke the demangler.
std::vector<const char *> ArgsV;