<div dir="ltr">The timeline appears to coincide with Windows EH support for ARM64:<div><a href="https://releases.llvm.org/8.0.0/tools/clang/docs/ReleaseNotes.html#windows-support">https://releases.llvm.org/8.0.0/tools/clang/docs/ReleaseNotes.html#windows-support</a> </div><div><br></div><div>I looked at the logs, but it's not immediately obvious when the behavior changed. If you want to dig deeper, it would be straightforward to bisect this behavior change to a specific revision, and the commit message should be explanatory.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 8, 2020 at 2:35 PM Alexander Mitin via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
In our project we use llvm.eh.sjlj.setjmp intrinsic to establish a<br>
recovering chain which implies that it's 'longjmp' counterpart would<br>
be called from a C code, so it uses a runtime implementation of<br>
longjmp().<br>
For LLVM 7 llvm.eh.sjlj.setjmp lowers to a call to Windows CRT<br>
function _setjmp(). After migrating to LLVM 10 we've found that it's<br>
no longer true.<br>
Is it done intentionally? If yes, why? The doc for llvm.eh.sjlj.setjmp<br>
says that this intrinsic is compatible with the GCC __builtin_setjmp<br>
implementation, so why isn't it compatible with MSVC CRT (in case of<br>
using MSVC CRT)?<br>
<br>
-- <br>
Alexander Mitin,<br>
Instantiations, Inc.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>