[all-commits] [llvm/llvm-project] 2e1e27: [libc] adjust linux's `mman.h` definitions (#79652)

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Fri Jan 26 16:29:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e1e27c7c3212254283edecae6f040272ef88e0f
      https://github.com/llvm/llvm-project/commit/2e1e27c7c3212254283edecae6f040272ef88e0f
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-01-26 (Fri, 26 Jan 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/linux/CMakeLists.txt
    R libc/include/llvm-libc-macros/linux/sys-mman-macros.h
    M libc/include/llvm-libc-macros/sys-mman-macros.h

  Log Message:
  -----------
  [libc] adjust linux's `mman.h` definitions (#79652)

Use definitions from `<linux/mman.h>` to dispatch arch-specific flag
values.
For example, `MCL_CURRENT/MCL_FUTURE/MCL_ONFAULT` are different on
different architectures.




More information about the All-commits mailing list