[libc-commits] [libc] [libc] quick fix for aarch64 jmpbuf build (PR #101357)

Simon Tatham via libc-commits libc-commits at lists.llvm.org
Wed Jul 31 09:19:27 PDT 2024


https://github.com/statham-arm approved this pull request.

Thanks – I was in the middle of preparing a fix myself, but you were faster!

I don't know why this hasn't failed before. `arm/setjmp.cpp` works the same way, defining setjmp and longjmp as `[[gnu::naked]]` C++ functions which only use their parameters via the contained asm statements. They surely should be the same as each other. But maybe no 32-bit Arm buildbot turns on that particular `-Werror` flag.

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


More information about the libc-commits mailing list