mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
MemoryBufferTest.cpp: Tweak offset corresponding to the case that PageSize is greater than 8000.
PageSize, aka AllocationGranularity, is 65536 on Win32 (and Cygwin). llvm-svn: 188999
This commit is contained in:
parent
6cb92d92f5
commit
26b76a4a44
@ -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…
Reference in New Issue
Block a user