jeanPerier wrote: > You might want to rename needEndFinalization to something like needDeallocationOrFinalization. (Well, it's really and/or, but ok.) Thanks Val for the review, that is a good suggestion, I applied it. https://github.com/llvm/llvm-project/pull/67036