diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-17 23:11:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-17 23:11:56 +0000 |
commit | ce3b2c3f77a2ba64439e30cd11828aef4ec87c31 (patch) | |
tree | 8b6df7fa923e654a96c6b6d4b31c0138bec4ea57 /llvm/lib/Support/ErrorHandling.cpp | |
parent | 6217082dc3227a6cca70a5e038a6d682b2e87c5b (diff) | |
download | llvm-ce3b2c3f77a2ba64439e30cd11828aef4ec87c31.zip llvm-ce3b2c3f77a2ba64439e30cd11828aef4ec87c31.tar.gz llvm-ce3b2c3f77a2ba64439e30cd11828aef4ec87c31.tar.bz2 |
Fix the rest of rdar://8318441 which happens when a raw_fd_ostream
(e.g. errs()) fails in close() due to (e.g.) a broken pipe. As
previously written, the had_error() flag would get set and then
the raw_ostream dtor would report a fatal error. There is nothing
the client can do about this and we have no way to report the error,
so just eat it.
llvm-svn: 111321
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions