HomePhabricator

[AArch64] Add __builtin_sponentry, for calling setjmp in MinGW

Description

[AArch64] Add __builtin_sponentry, for calling setjmp in MinGW

In MinGW, setjmp isn't expanded as a builtin in the compiler (like it
is for MSVC), but manually hooked up as calls to the right underlying
functions in headers. Using the actual CRT's real setjmp/longjmp
functions requires this intrinsic. (Currently this is worked around by
using MinGW specific reimplementations of setjmp/longjmp on aarch64.)

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

Details

Committed
mstorsjoMay 6 2019, 2:19 PM
Differential Revision
D61592: [AArch64] Add __builtin_sponentry, for calling setjmp in MinGW
Parents
rC360081: [MinGW] Use SEH by default on AArch64
Branches
Unknown
Tags
Unknown