summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-08-22 15:14:53 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-08-22 15:14:53 +0000
commit3f256c2e0b4417288e3191e67cb16177c8d8b2a7 (patch)
tree1953f3229b7eeab3891dea006a24fbda8e0684ea /unittests
parent37693da119853a4b2a31df4a6b7213043fe97e1a (diff)
downloadllvm-3f256c2e0b4417288e3191e67cb16177c8d8b2a7.tar.gz
llvm-3f256c2e0b4417288e3191e67cb16177c8d8b2a7.tar.bz2
llvm-3f256c2e0b4417288e3191e67cb16177c8d8b2a7.tar.xz
[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
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/MemoryBufferTest.cpp5
1 files changed, 0 insertions, 5 deletions
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
-
}