[all-commits] [llvm/llvm-project] 1685e7: [Support] Fix crash in install_bad_alloc_error_han...
Fabian Schiebel via All-commits
all-commits at lists.llvm.org
Fri Mar 1 11:54:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1685e7fdab3f1b3fc654f7c93219594532becb81
https://github.com/llvm/llvm-project/commit/1685e7fdab3f1b3fc654f7c93219594532becb81
Author: Fabian Schiebel <52407375+fabianbs96 at users.noreply.github.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M llvm/lib/Support/ErrorHandling.cpp
M llvm/unittests/Support/ErrorTest.cpp
Log Message:
-----------
[Support] Fix crash in install_bad_alloc_error_handler (#83160)
Previously, the function `install_bad_alloc_error_handler` was asserting that a bad_alloc error handler was not already installed. However, it was actually checking for the fatal-error handler, not for the bad_alloc error handler, causing an assertion failure if a fatal-error handler was already installed.
Fixes #83040
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