[all-commits] [llvm/llvm-project] a3f688: [Windows SEH] Fix ehcleanup crash for Windows -EHa

Phoebe Wang via All-commits all-commits at lists.llvm.org
Tue Apr 11 23:44:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3f688422c44519b578f9ae728b955aabe6b494e
      https://github.com/llvm/llvm-project/commit/a3f688422c44519b578f9ae728b955aabe6b494e
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M clang/lib/CodeGen/CGCleanup.cpp
    M clang/test/CodeGen/windows-seh-EHa-CppCatchReturn.cpp

  Log Message:
  -----------
  [Windows SEH] Fix ehcleanup crash for Windows -EHa

`Builder.GetInsertBlock()` may return null sometimes. https://godbolt.org/z/n1Ph47jP1

Reviewed By: efriedma

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




More information about the All-commits mailing list