[libc-commits] [PATCH] D145584: [libc] Add support for setjmp and longjmp in riscv

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Mar 15 00:46:30 PDT 2023


sivachandra added a comment.

Can you share the code that results in large number of instructions and register saving?



================
Comment at: libc/src/setjmp/setjmp_impl.h:18
 
-int setjmp(__jmp_buf *buf);
+int setjmp(__jmp_buf *buf) __NOEXCEPT;
 
----------------
Why not use the `noexcept` keyword instead of `__NOEXCEPT`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145584/new/

https://reviews.llvm.org/D145584



More information about the libc-commits mailing list