MemoryBuffer.cpp: Consider if PageSize were not 4096 in shouldUseMmap(). Follow-up...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 22 Aug 2013 10:23:52 +0000 (10:23 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 22 Aug 2013 10:23:52 +0000 (10:23 +0000)
commit378cd84adfe988166c3a45005043b506e3485c34
tree5f2db1480ed152d9da0fd600be315185e98ce399
parentf6db9425648e9d9b965dc0aae9f63afbb3e7a5b8
MemoryBuffer.cpp: Consider if PageSize were not 4096 in shouldUseMmap(). Follow-up to r188903.

The AllocationGranularity can be 65536 on Win32, even on Cygwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/MemoryBuffer.cpp