OSDN Git Service

Refactor the unit test for MemoryBuffer::getOpenFileSlice
authorEli Bendersky <eliben@google.com>
Tue, 23 Jul 2013 20:58:51 +0000 (20:58 +0000)
committerEli Bendersky <eliben@google.com>
Tue, 23 Jul 2013 20:58:51 +0000 (20:58 +0000)
commitab99d04c59d649ed6d309603b9e77fc1d36cca4d
tree8282ed217c3556f700f18aac1feaaedc2ae42390
parentd2ed53c8e24ddb1e30246c918a8eabb678bd9495
Refactor the unit test for MemoryBuffer::getOpenFileSlice

Run in two different modes: with and without reopening the temporary file
between creating it and mapping it with MemoryBuffer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186986 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Support/MemoryBufferTest.cpp