[PATCH] D51419: Switch syscall(2)/__syscall(2) calls to libc calls on NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 02:20:47 PDT 2018


krytarowski added a comment.

`_sys_` seems to be available only for a small set of of system calls and is not universal.

  $ nm /usr/lib/libc.so|grep _sys_|wc -l
  64

I can switch these ones (read, write, close, readlink,  sched_yield and wait4 for waitpid), but why?


Repository:
  rL LLVM

https://reviews.llvm.org/D51419





More information about the llvm-commits mailing list