Files
clang-p2996/llvm/lib/IR/User.cpp
Marc Auberer 8d38906d08 [IR] Fix assertion error in User new/delete edge case (#129914)
Fixes #129900

If `operator delete` was called after an unsuccessful constructor call
after `operator new`, we ran into undefined behaviour.
This was discovered by our malfunction tests while preparing an upgrade
to LLVM 20, that explicitly check for such kind of bugs.
2025-03-10 11:53:45 +01:00

7.7 KiB