[llvm-branch-commits] [llvm] release/20.x: [IR] Fix assertion error in User new/delete edge case (#129914) (PR #130580)

Marc Auberer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 11 14:43:43 PDT 2025


marcauberer wrote:

> @marcauberer (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

This fixes some undefined behaviour when `operator delete` is called on `User` after an unsuccessful constructor call
after `operator new`.


https://github.com/llvm/llvm-project/pull/130580


More information about the llvm-branch-commits mailing list