[lld] [llvm] [lld][MachO] Follow-up to use madvise() for threaded file page-in. (PR #157917)
Richard Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 13:11:33 PDT 2025
zygoloid wrote:
> @zygoloid I found the existing discussion about why not only Linux in the comments of #152595. Makes sense.
>
> The problem is that the default of `RequiresNullTerminator` makes all the simple invocations to `getFile`, even if being binaries, fall onto the slow path of not being mmapped
Why? They'd only take the slow path if their size is a multiple of the page size or they hit an OS bug.
https://github.com/llvm/llvm-project/pull/157917
More information about the llvm-commits
mailing list