[libc-commits] [libc] [libc] Always-inline syscall_impl and syscall_checked. (PR #236255)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Wed Oct 28 07:47:40 PDT 2026


https://github.com/labath approved this pull request.

I was hoping attribute((flatten)) would do, but it looks like that has issues on clang and gcc -O0. applying always_inline to the whole stack is the only portable way...

I guess it's okay, since we'd want these wrappers to be inlined anyway.

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


More information about the libc-commits mailing list