[libc-commits] [libc] [libc] Add `returns_twice` attribute to `setjmp(3)` (PR #124370)
James Y Knight via libc-commits
libc-commits at lists.llvm.org
Wed Feb 5 07:15:17 PST 2025
jyknight wrote:
Yes, Clang of course shouldn't special-case functions defined in arbitrary namespaces. But that's exactly the problem with having libc depend on a special-case list to apply the required attribute. That's why it's not a "workaround" for libc to set the required attribute, but rather, the correct thing to do!
https://github.com/llvm/llvm-project/pull/124370
More information about the libc-commits
mailing list