[all-commits] [llvm/llvm-project] 5baea0: [SEH] Fix capture of this in lambda functions

Olivier Goffart via All-commits all-commits at lists.llvm.org
Thu Mar 11 00:13:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5baea0560160a693b19022c5d0ba637b6b46b2d8
      https://github.com/llvm/llvm-project/commit/5baea0560160a693b19022c5d0ba637b6b46b2d8
  Author: Olivier Goffart <ogoffart at woboq.com>
  Date:   2021-03-11 (Thu, 11 Mar 2021)

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

  Log Message:
  -----------
  [SEH] Fix capture of this in lambda functions

Commit 1b04bdc2f3ffaa7a0e1e3dbdc3a0cd08f0b9a4ce added support for
capturing the 'this' pointer in a SEH context (__finally or __except),
But the case in which the 'this' pointer is part of a lambda capture
was not handled properly

Differential Revision: https://reviews.llvm.org/D97687




More information about the All-commits mailing list