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
// 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);
}