Unverified Commit c3eccf03 authored by Adrian Prantl's avatar Adrian Prantl Committed by GitHub
Browse files

Avoid a potential exit(1) in LLVMContext::diagnose() (#84992)

by handling *all* errors in IRExecDiagnosticHandler. The function that
call this handles all unhandled errors with an `exit(1)`.

rdar://124459751

I don't really have a testcase for this, since the crash report I got
for this involved the Swift language plugin.
parent bb82092d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment