[PATCH] D52440: Emit lifetime markers for temporary function parameter aggregates

Ian Tessier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 14 11:09:04 PST 2018


itessier added a comment.

> This is problematic because we're not necessarily in a scope that usefully limits the duration of cleanups — we don't push full-expression scopes when emitting an arbitrary statement. Probably we should, but we don't.



> If you'd like to take a look at solving that problem first, that would be great.

Sure I'd like to take a look at this, but I'm not familiar with the code gen module. Can you point me to where I should start looking to understand and figure out where to add scopes?


Repository:
  rC Clang

https://reviews.llvm.org/D52440





More information about the cfe-commits mailing list