[PATCH] D90201: Try reading a smaller chunk when (p)read fails

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 11:51:16 PDT 2020


joerg added a comment.

You can do an anon-mapping with size+pagesize in that case and map over it with MAP_FIXED.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90201



More information about the llvm-commits mailing list