[SEH] capture 'this'
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 24 Feb 2021 10:57:38 +0000 (11:57 +0100)
committerOlivier Goffart <ogoffart@sixtyfps.io>
Mon, 1 Mar 2021 10:57:35 +0000 (11:57 +0100)
commit1b04bdc2f3ffaa7a0e1e3dbdc3a0cd08f0b9a4ce
treecfc0453518a36b5e2b56ea92bca96b83360035c0
parent53dacb7b67758f0c5ea2fe6a3c2030d070017b42
[SEH] capture 'this'

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

Differential Revision: https://reviews.llvm.org/D97534
clang/lib/CodeGen/CGException.cpp
clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp