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

Xiaodong Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 06:05:54 PDT 2022


XiaodongLoong added a comment.

In D123908#3457563 <https://reviews.llvm.org/D123908#3457563>, @MaskRay wrote:

> 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.

Yes, you are right. I'll change this revision.


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