aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <adrian-prantl@users.noreply.github.com>2024-03-13 08:53:13 -0700
committerGitHub <noreply@github.com>2024-03-13 08:53:13 -0700
commitc3eccf03b365a705bc8dc043217478a82bc37a4d (patch)
treebfe0e3ae98b92cca5f7888501138a1558c72f69e /clang/lib/Basic/Module.cpp
parentbb82092de71466728630050691fa9c20796b3cbc (diff)
downloadllvm-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