[clang] [Clang] Mark this pointer in destructors dead_on_return (PR #166276)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 2 12:44:24 PST 2025
nikic wrote:
GCC has a related `-fno-lifetime-dse` option, possibly we should be integrating with that flag instead of creating a new one? (Notably, LLVM sets that flag because we have some hacks in the User implementation that rely on accessing the object in overloaded operator delete, see https://github.com/llvm/llvm-project/issues/24952).
https://github.com/llvm/llvm-project/pull/166276
More information about the cfe-commits
mailing list