diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-22 15:14:53 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-08-22 15:14:53 +0000 |
| commit | 7b5d4f97a0ffe1f8ef37571d03fd9120f39529fb (patch) | |
| tree | e1823957c517f418739ec9bb43365a2ba3903ba2 /llvm/unittests/Support/MemoryBufferTest.cpp | |
| parent | edf7615332801f9c0b41b6e4560f3877df7b63d6 (diff) | |
| download | llvm-7b5d4f97a0ffe1f8ef37571d03fd9120f39529fb.zip llvm-7b5d4f97a0ffe1f8ef37571d03fd9120f39529fb.tar.gz llvm-7b5d4f97a0ffe1f8ef37571d03fd9120f39529fb.tar.bz2 | |
[Win32] mapped_file_region: Fix a bug in CreateFileMapping() that Size must contain Offset when Offset >= 65536.
llvm-svn: 189021
Diffstat (limited to 'llvm/unittests/Support/MemoryBufferTest.cpp')
| -rw-r--r-- | llvm/unittests/Support/MemoryBufferTest.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/unittests/Support/MemoryBufferTest.cpp b/llvm/unittests/Support/MemoryBufferTest.cpp index 252d2b5..d9102e0 100644 --- a/llvm/unittests/Support/MemoryBufferTest.cpp +++ b/llvm/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 - } |
