[all-commits] [llvm/llvm-project] c3eccf: Avoid a potential exit(1) in LLVMContext::diagnose...
Adrian Prantl via All-commits
all-commits at lists.llvm.org
Wed Mar 13 08:53:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3eccf03b365a705bc8dc043217478a82bc37a4d
https://github.com/llvm/llvm-project/commit/c3eccf03b365a705bc8dc043217478a82bc37a4d
Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/source/Expression/IRExecutionUnit.cpp
Log Message:
-----------
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list