[PATCH] D30010: Improve the robustness of mmap
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 10:42:13 PST 2017
zturner updated this revision to Diff 88918.
zturner added a comment.
Rename parameter from `IsVolatileSize` to `IsVolatile`, and remove the logic in `shouldUseMmap` to check if the file is local.
https://reviews.llvm.org/D30010
Files:
llvm/include/llvm/Support/FileSystem.h
llvm/include/llvm/Support/MemoryBuffer.h
llvm/lib/Support/MemoryBuffer.cpp
llvm/lib/Support/Unix/Path.inc
llvm/lib/Support/Windows/Path.inc
llvm/unittests/Support/Path.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30010.88918.patch
Type: text/x-patch
Size: 15912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170217/d588d3d5/attachment.bin>
More information about the llvm-commits
mailing list