llvm-project
1685e7fd - [Support] Fix crash in install_bad_alloc_error_handler (#83160)

Commit
1 year ago
[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
Author
Parents
Loading