[PATCH] D77936: [Windows SEH] Fix abnormal-exits in _try
Ten Tzen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 12 18:42:37 PDT 2020
tentzen updated this revision to Diff 256906.
tentzen added a comment.
Per Eli's suggestion,
Use icmp (and zext) to check the JumpDest index, instead of directly passing the Index to _finally().
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77936/new/
https://reviews.llvm.org/D77936
Files:
clang/lib/CodeGen/CGCleanup.cpp
clang/lib/CodeGen/CGException.cpp
clang/lib/CodeGen/EHScopeStack.h
clang/test/CodeGen/windows-seh-abnormal-exits.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77936.256906.patch
Type: text/x-patch
Size: 3827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200413/e481c9ff/attachment.bin>
More information about the cfe-commits
mailing list