[all-commits] [llvm/llvm-project] f0010d: [Windows SEH] Fix crash on empty seh block (#107031)
R-Goc via All-commits
all-commits at lists.llvm.org
Thu Sep 12 23:06:22 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: f0010d131b79a1b401777aa32e96defc4a935c9d
https://github.com/llvm/llvm-project/commit/f0010d131b79a1b401777aa32e96defc4a935c9d
Author: R-Goc <131907007+R-Goc at users.noreply.github.com>
Date: 2024-09-13 (Fri, 13 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.
(cherry picked from commit 2e0ded3371f8d42f376bdfd4d70687537e36818e)
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