[PATCH] D123908: Add LLVM_SYS_PAGE_SIZE option to support 4K/8K/16K/64K page size system

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 14:19:33 PDT 2022


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

Hard-coded build page size values may work for your system, but generally isn't reliable. For example, `AT_PAGESZ` was invented for retrieving the run-time value. I don't think the build system should know the page size.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123908/new/

https://reviews.llvm.org/D123908



More information about the llvm-commits mailing list