[all-commits] [llvm/llvm-project] 2e0ded: [Windows SEH] Fix crash on empty seh block (#107031)

R-Goc via All-commits all-commits at lists.llvm.org
Wed Sep 4 11:10:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e0ded3371f8d42f376bdfd4d70687537e36818e
      https://github.com/llvm/llvm-project/commit/2e0ded3371f8d42f376bdfd4d70687537e36818e
  Author: R-Goc <131907007+R-Goc at users.noreply.github.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    A llvm/test/CodeGen/WinEH/wineh-empty-seh-scope.ll

  Log Message:
  -----------
  [Windows SEH] Fix crash on empty seh block (#107031)

Fixes https://github.com/llvm/llvm-project/issues/105813 and
https://github.com/llvm/llvm-project/issues/106915.
Adds a check for the end of the iterator, which can be a sentinel. 
The issue was introduced in
https://github.com/llvm/llvm-project/commit/0efe111365ae176671e01252d24028047d807a84
from what I can see, so along with the introduction of /EHa support.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list