diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-09-04 14:12:19 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-09-04 14:12:19 +0000 |
| commit | 81b135cc1e6578dba0fb6daed425f556db368034 (patch) | |
| tree | 5c997329a06b20ab2fce6970ec5ff8eb76e42453 /lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | a53ee67e5eff17c1bb56a1a86ea628806e1bb29d (diff) | |
| download | llvm-81b135cc1e6578dba0fb6daed425f556db368034.tar.gz llvm-81b135cc1e6578dba0fb6daed425f556db368034.tar.bz2 llvm-81b135cc1e6578dba0fb6daed425f556db368034.tar.xz | |
MemoryBuffer.cpp: Don't peek the next page if file is multiple of *physical* pagesize(4k) but is not multiple of AllocationGranularity(64k), when a null terminator is required, on cygwin and win32.
For example, r189780's SparcISelLowering.cpp has the size 98304. It crashed clang to touch a null terminator on cygwin.
FIXME: It's not good to hardcode 4096 here. dwPageSize shows 4096.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
