[PATCH] D53541: [COFF, ARM64] Support SEH for ARM64 Windows
Mandeep Singh Grang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 12:44:52 PDT 2018
mgrang updated this revision to Diff 171994.
mgrang retitled this revision from "[COFF, ARM64] Add aarch64_seh_recoverfp intrinsic" to "[COFF, ARM64] Support SEH for ARM64 Windows".
mgrang edited the summary of this revision.
mgrang added a comment.
Updated the patch with the following changes:
1. Emit llvm.x86.seh.recoverfp only for non-aarch64 targets. For aarch64 windows, the parent fp is always passed in x1. So we don't need a separate instrinsic to recover the fp.
2. Enable SEH exceptions by default for ARM64 windows. If exceptions are not enabled then function which may raise an exception are by default marked as "nounwind".
3. Removed ARM64 specific tests from exceptions-seh.c. I will push more comprehensive tests for ARM64 SEH soon.
https://reviews.llvm.org/D53541
Files:
lib/CodeGen/CGException.cpp
lib/Driver/ToolChains/Clang.cpp
test/CodeGen/exceptions-seh.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53541.171994.patch
Type: text/x-patch
Size: 5801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181031/922da604/attachment.bin>
More information about the cfe-commits
mailing list