commit | 499befab3136ec5c3a2e984d46ace5afe15c1f7b | [log] [tgz] |
---|---|---|
author | NAKAMURA Takumi <geek4civic@gmail.com> | Mon Aug 04 01:43:37 2014 +0000 |
committer | NAKAMURA Takumi <geek4civic@gmail.com> | Mon Aug 04 01:43:37 2014 +0000 |
tree | cab5d45ca122303a48ec5dac59b72bb6f442bad2 | |
parent | 73100d8f33493fac4f9ac4ea3d99dce8f1986b8f [diff] |
MemoryBuffer: Don't use mmap when FileSize is multiple of 4k on Cygwin. On Cygwin, getpagesize() returns 64k(AllocationGranularity). In r214580, the size of X86GenInstrInfo.inc became 1499136. FIXME: We should reorganize again getPageSize() on Win32. MapFile allocates address along AllocationGranularity but view is mapped by physical page. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214681 91177308-0d34-0410-b5e6-96231b3b80d8