diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-03-27 18:30:00 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-03-27 18:30:00 +0000 |
commit | 2b7f2190514244cedc6b74aea42c2f9a3ee714a9 (patch) | |
tree | cd9349bbb33531a97e72b6159d6386cb97cc7fb4 | |
parent | ce945578ee190cefee0cdd987c1c287d04b8536a (diff) |
Don't try to generate crash diagnostics if we had an I/O failure. It's very
likely the crash diagnostics generation will fail as well.
Part of rdar://13296693
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178163 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/raw_ostream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index da26a371a7..a433088b19 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -517,7 +517,7 @@ raw_fd_ostream::~raw_fd_ostream() { // has_error() and clear the error flag with clear_error() before // destructing raw_ostream objects which may have errors. if (has_error()) - report_fatal_error("IO failure on output stream."); + report_fatal_error("IO failure on output stream.", /*GenCrashDiag=*/false); } |