[all-commits] [llvm/llvm-project] ff51b6: [libc] Revert #73704 and subsequent fixes #73984, ...

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Mon Dec 4 12:49:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff51b60b18656ae05fdc65ac6f6abc3ec6a15eda
      https://github.com/llvm/llvm-project/commit/ff51b60b18656ae05fdc65ac6f6abc3ec6a15eda
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/linux.td
    M libc/spec/spec.td
    M libc/src/sys/mman/CMakeLists.txt
    M libc/src/sys/mman/linux/CMakeLists.txt
    R libc/src/sys/mman/linux/mincore.cpp
    R libc/src/sys/mman/mincore.h
    M libc/test/src/sys/mman/linux/CMakeLists.txt
    R libc/test/src/sys/mman/linux/mincore_test.cpp

  Log Message:
  -----------
  [libc] Revert #73704 and subsequent fixes #73984, #74026 (#74355)

The test cases of mincore require getting correct page size from OS. As
`sysconf` is not functioning correctly, these patches are implemented in
a somewhat confusing way. We revert such patches and will reintroduce
mincore after we correct sysconf.

This reverts 54878b8, 985c0d1 and 418a3a4.




More information about the All-commits mailing list