aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unicode.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-09-04 14:12:19 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-09-04 14:12:19 +0000
commit65fc51bbe29d39a0aae860dc4f1f9e75a800e221 (patch)
tree8063a33f2c081c143936f6b07cf4aea3898613f0 /llvm/lib/Support/Unicode.cpp
parent9542678508a686ebe8df29419df9642ddc3ebf61 (diff)
downloadllvm-65fc51bbe29d39a0aae860dc4f1f9e75a800e221.zip
llvm-65fc51bbe29d39a0aae860dc4f1f9e75a800e221.tar.gz
llvm-65fc51bbe29d39a0aae860dc4f1f9e75a800e221.tar.bz2
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. llvm-svn: 189939
Diffstat (limited to 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions