[all-commits] [llvm/llvm-project] 1b04bd: [SEH] capture 'this'

Olivier Goffart via All-commits all-commits at lists.llvm.org
Mon Mar 1 02:59:25 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b04bdc2f3ffaa7a0e1e3dbdc3a0cd08f0b9a4ce
      https://github.com/llvm/llvm-project/commit/1b04bdc2f3ffaa7a0e1e3dbdc3a0cd08f0b9a4ce
  Author: Olivier Goffart <ogoffart at woboq.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CGException.cpp
    M clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list