[libc-commits] [libc] [libc] Create socketcall helper for Linux syscall wrappers (PR #196903)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Mon May 11 05:52:12 PDT 2026


labath wrote:

> I like the simplification you're working on here! Are the sites I flagged being called at all? They look like they shouldn't compile.

Well.. that is embarrassing. I checked that the wrapper code is actually built, but it did not occur to me to check whether the call sites were being build (which they were not because my system defines both SYS_whatever *and* the SYS_socketcall syscall numbers (I guess older systems would only define SYS_socketcall).

The new versions fixes those errors, and I've now checked (by manually changing the chosen preprocessor branch) that code builds and passes tests.

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


More information about the libc-commits mailing list