[libc-commits] [libc] [libc][setjmp] fix setjmp test (PR #87837)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Apr 8 14:51:40 PDT 2024


nickdesaulniers wrote:

I've implemented `setjmp` here using a `naked` fn attr just to get a feel for it: https://github.com/llvm/llvm-project/pull/88054

I think it would be easier if clang had `__builtin_stack_address`. https://github.com/llvm/llvm-project/issues/82632 is tagged a good beginner bugs, but unless we already have a corresponding intrinsic in IR, I don't think it's a good beginner bugs.

https://github.com/llvm/llvm-project/pull/87837


More information about the libc-commits mailing list