[PATCH] D31092: Bypass potential libc's sysconf wrappers for sysconf(_SC_PAGESIZE) call
Evgeniy Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 13:52:59 PDT 2017
eugenis added a comment.
sysconf for the page size is not a syscall on most platforms.
On linux it reads auxv, which could also be done through getauxval() on glibc and bionic, and, it appears, freebsd. But in bionic it is broken.
https://reviews.llvm.org/D31092
More information about the llvm-commits
mailing list