OSDN Git Service

[Support] Re-add the special OSX flags on mmap.
authorZachary Turner <zturner@google.com>
Wed, 22 Feb 2017 21:24:06 +0000 (21:24 +0000)
committerZachary Turner <zturner@google.com>
Wed, 22 Feb 2017 21:24:06 +0000 (21:24 +0000)
commita6cf40b58411785ed1586f1e727fb71482940fb5
tree25b428606b32f6eb7ff17eae66eb4ca608964b2c
parent7af390a6819f366b48912a00a200d7db1d1eb61a
[Support] Re-add the special OSX flags on mmap.

The problem appears to be that these flags can only be used
when mapping a file for read-only, not for readwrite.  So
we do that here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295880 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Path.inc