[clang] [Clang] More aggressively mark this* dead_on_return in destructors (PR #183347)

Aiden Grossman via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 06:06:19 PDT 2026


boomanaiden154 wrote:

> Not sure if there is anything in the repro that makes it UB that I missed.

It's the same issue as https://github.com/steveicarus/iverilog/pull/1311. The allocator is writing to the object being deleted within `operator delete`, which as far as I'm aware is not allowed.

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


More information about the cfe-commits mailing list