diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-08-04 01:43:37 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-08-04 01:43:37 +0000 |
| commit | 56bc3419a3b33fc8c110001c0ab06fced4b6a6df (patch) | |
| tree | 990165f972cfcaf8dbce9420812fa81d48dde442 /llvm/lib/CodeGen/RegAllocBase.h | |
| parent | 37a18821cd8b0df5ac877659d2d397f0e268407c (diff) | |
| download | bcm5719-llvm-56bc3419a3b33fc8c110001c0ab06fced4b6a6df.tar.gz bcm5719-llvm-56bc3419a3b33fc8c110001c0ab06fced4b6a6df.zip | |
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.
llvm-svn: 214681
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.h')
0 files changed, 0 insertions, 0 deletions

