diff options
author | Adrian Prantl <adrian-prantl@users.noreply.github.com> | 2024-03-13 08:53:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 08:53:13 -0700 |
commit | c3eccf03b365a705bc8dc043217478a82bc37a4d (patch) | |
tree | bfe0e3ae98b92cca5f7888501138a1558c72f69e /clang/lib/Basic/Module.cpp | |
parent | bb82092de71466728630050691fa9c20796b3cbc (diff) | |
download | llvm-c3eccf03b365a705bc8dc043217478a82bc37a4d.zip llvm-c3eccf03b365a705bc8dc043217478a82bc37a4d.tar.gz llvm-c3eccf03b365a705bc8dc043217478a82bc37a4d.tar.bz2 |
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.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions