[all-commits] [llvm/llvm-project] 1ac525: [libc] add sysconf with pagesize

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Oct 10 14:52:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ac525b28b3b0e24a762471104eee6368e954c44
      https://github.com/llvm/llvm-project/commit/1ac525b28b3b0e24a762471104eee6368e954c44
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/llvm-libc-macros/linux/unistd-macros.h
    M libc/spec/posix.td
    M libc/src/unistd/CMakeLists.txt
    M libc/src/unistd/linux/CMakeLists.txt
    A libc/src/unistd/linux/sysconf.cpp
    A libc/src/unistd/sysconf.h
    M libc/test/src/unistd/CMakeLists.txt
    A libc/test/src/unistd/sysconf_test.cpp

  Log Message:
  -----------
  [libc] add sysconf with pagesize

The sysconf function has many options, this patch adds the basic funtion
and the pagesize option. More options will be added in future patches.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D135409




More information about the All-commits mailing list