From 3f256c2e0b4417288e3191e67cb16177c8d8b2a7 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 22 Aug 2013 15:14:53 +0000 Subject: [Win32] mapped_file_region: Fix a bug in CreateFileMapping() that Size must contain Offset when Offset >= 65536. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189021 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Support/MemoryBufferTest.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'unittests') diff --git a/unittests/Support/MemoryBufferTest.cpp b/unittests/Support/MemoryBufferTest.cpp index 252d2b555f..d9102e07e8 100644 --- a/unittests/Support/MemoryBufferTest.cpp +++ b/unittests/Support/MemoryBufferTest.cpp @@ -138,9 +138,6 @@ void MemoryBufferTest::testGetOpenFileSlice(bool Reopen) { EXPECT_EQ(BufData[9], '9'); } -#if !defined(_WIN32) -// FIXME: Investigating since r188998. - TEST_F(MemoryBufferTest, getOpenFileNoReopen) { testGetOpenFileSlice(false); } @@ -149,6 +146,4 @@ TEST_F(MemoryBufferTest, getOpenFileReopened) { testGetOpenFileSlice(true); } -#endif // _WIN32 - } -- cgit v1.2.3