mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 18:33:56 +00:00
MemoryBufferTest.cpp: Tweak offset corresponding to the case that PageSize is greater than 8000.
PageSize, aka AllocationGranularity, is 65536 on Win32 (and Cygwin). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
378cd84adf
commit
4efbeb2700
@ -128,7 +128,7 @@ void MemoryBufferTest::testGetOpenFileSlice(bool Reopen) {
|
||||
OwningBuffer Buf;
|
||||
error_code EC = MemoryBuffer::getOpenFileSlice(TestFD, TestPath.c_str(), Buf,
|
||||
40000, // Size
|
||||
8000 // Offset
|
||||
80000 // Offset
|
||||
);
|
||||
EXPECT_FALSE(EC);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user