summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-03-27 18:30:00 +0000
committerChad Rosier <mcrosier@apple.com>2013-03-27 18:30:00 +0000
commit7ce810cb843ec9634ec6d874f0d398c1dbb85607 (patch)
treeca5171e306e56b2102da730b27f42601d209d3be /llvm/lib/Support
parent05c71aa745319e919b06ecced1f71d0143c3e30b (diff)
downloadbcm5719-llvm-7ce810cb843ec9634ec6d874f0d398c1dbb85607.tar.gz
bcm5719-llvm-7ce810cb843ec9634ec6d874f0d398c1dbb85607.zip
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 llvm-svn: 178163
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/raw_ostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp
index da26a371a76..a433088b193 100644
--- a/llvm/lib/Support/raw_ostream.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud