aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOliver Hunt <ohunt@apple.com>2020-07-09 20:27:03 -0700
committerJF Bastien <jfbastien@apple.com>2020-07-09 20:27:33 -0700
commit00c9a504aeed2603bd8bc9b89d753534e929c8e8 (patch)
tree494bdac6eba4e342f521f3dafd1bb716e85cd01b /clang/lib/Frontend/CompilerInvocation.cpp
parentf1efb8bb4ba0584a9b994f3404a2c62920ce6652 (diff)
downloadllvm-00c9a504aeed2603bd8bc9b89d753534e929c8e8.zip
llvm-00c9a504aeed2603bd8bc9b89d753534e929c8e8.tar.gz
llvm-00c9a504aeed2603bd8bc9b89d753534e929c8e8.tar.bz2
CrashTracer: clang at clang: llvm::BitstreamWriter::ExitBlock
Add a guard for re-entering an SDiagsWriter's HandleDiagnostics method after we've started finalizing. This is a generic catch all for unexpected fatal errors so we don't recursive crash inside the generic llvm error handler. We also add logic to handle the actual error case in llvm::~raw_fd_ostream caused by failing to clear errors before it is destroyed. <rdar://problem/63335596>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions