[PATCH] D97534: SEH: capture 'this'

Olivier Goffart via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 00:55:41 PST 2021


ogoffart created this revision.
ogoffart added reviewers: rnk, asl, cfe-commits.
ogoffart requested review of this revision.
Herald added a project: clang.

Simply make sure that the CodeGenFunction::CXXThisValue and CXXABIThisValue
are correctly initialized to the recovered value.
For lambda capture, we also need to make sure to fill the LambdaCaptureFields


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97534

Files:
  clang/lib/CodeGen/CGException.cpp
  clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97534.326621.patch
Type: text/x-patch
Size: 7798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210226/2a90ef1c/attachment.bin>


More information about the cfe-commits mailing list