[PATCH] D30010: Improve the robustness of mmap

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 14:21:39 PST 2017


zturner updated this revision to Diff 88785.
zturner added a comment.

Fixed suggestion from ruiu.  In fixing that I noticed that there was no `break` in between cases in the Linux preprocessor branch, so I fixed that too.  Good thing you pointed that out!


https://reviews.llvm.org/D30010

Files:
  llvm/include/llvm/Support/FileSystem.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.88785.patch
Type: text/x-patch
Size: 8602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170216/610dfbc3/attachment.bin>


More information about the llvm-commits mailing list