[Bugpoint] Close error log in ProcessFailure. Bugpoint had been failing to close
authorLang Hames <lhames@gmail.com>
Tue, 7 Oct 2014 21:47:23 +0000 (21:47 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 7 Oct 2014 21:47:23 +0000 (21:47 +0000)
commit7106ab7ffd1eee6adb045d3bd0a3d559435e527d
tree93a416322f4199d9e550568e63800315169fecfc
parent1ba00eab2630f7adaf9f1cb5dd8a2fe9c10d716e
[Bugpoint] Close error log in ProcessFailure. Bugpoint had been failing to close
this, and in some circumstances (e.g. reducing particularly large test-cases)
this was causing bugpoint to be killed for hitting open file-handle limits.

No test case: I was only able to trigger this with test cases taking upwards of
10 mins to run.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219244 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/ToolRunner.cpp