[PATCH] D47784: [MS][ARM64]: Promote _setjmp to_setjmpex as there is no _setjmp in the ARM64 libvcruntime.lib

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 5 11:09:33 PDT 2018


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm

I'm happy to refactor this after landing it as is, or you can do it if you like.



================
Comment at: lib/CodeGen/CGBuiltin.cpp:2808
   case Builtin::BI_setjmpex: {
     if (getTarget().getTriple().isOSMSVCRT()) {
       llvm::Type *ArgTypes[] = {Int8PtrTy, Int8PtrTy};
----------------
We should probably refactor all this to use shared code.


Repository:
  rC Clang

https://reviews.llvm.org/D47784





More information about the cfe-commits mailing list