History log of /external/llvm/unittests/Support/MemoryBufferTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2c3e0051c31c3f5b2328b447eadf1cf9c4427442 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r235153

Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7
(cherry picked from commit 0c7f116bb6950ef819323d855415b2f2b0aad987)
/external/llvm/unittests/Support/MemoryBufferTest.cpp
37ed9c199ca639565f6ce88105f9e39e898d82d0 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r222494.

Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/unittests/Support/MemoryBufferTest.cpp
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/unittests/Support/MemoryBufferTest.cpp
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/unittests/Support/MemoryBufferTest.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/unittests/Support/MemoryBufferTest.cpp
76a74f72534452b53ba3ba054bd8ab27efc48487 25-Oct-2013 Rafael Espindola <rafael.espindola@gmail.com> Change MemoryBuffer::getFile to take a Twine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
072bd45a36e06dd9ae0a46ce4bb029bea0ca9eae 04-Sep-2013 Dmitri Gribenko <gribozavr@gmail.com> MemoryBufer: add a test: check that a file with size that is a multiple of the
page size can be null terminated correctly by MemoryBuffer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189965 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
3f256c2e0b4417288e3191e67cb16177c8d8b2a7 22-Aug-2013 NAKAMURA Takumi <geek4civic@gmail.com> [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
/external/llvm/unittests/Support/MemoryBufferTest.cpp
37693da119853a4b2a31df4a6b7213043fe97e1a 22-Aug-2013 NAKAMURA Takumi <geek4civic@gmail.com> Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
a5bd3937ab34d88fe87f25f9c7d1f059445234b8 22-Aug-2013 NAKAMURA Takumi <geek4civic@gmail.com> Suppress MemoryBufferTest.cpp on win32 for now. Investigating.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
4efbeb2700506fa1cbbca5e487b57eaad05c60ed 22-Aug-2013 NAKAMURA Takumi <geek4civic@gmail.com> MemoryBufferTest.cpp: Tweak offset corresponding to the case that PageSize is greater than 8000.

PageSize, aka AllocationGranularity, is 65536 on Win32 (and Cygwin).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188999 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
ab99d04c59d649ed6d309603b9e77fc1d36cca4d 23-Jul-2013 Eli Bendersky <eliben@google.com> 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
/external/llvm/unittests/Support/MemoryBufferTest.cpp
70c7e485453fdbc228406715556f9447bc9f9fd8 23-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> Split getOpenFile into getOpenFile and getOpenFileSlice.

The main observation is that we never need both the filesize and the map size.
When mapping a slice of a file, it doesn't make sense to request a null
terminator and that would be the only case where the filesize would be used.

There are other cleanups that should be done in this area:

* A client should not have to pass the size (even an explicit -1) to say if
it wants a null terminator or not, so we should probably swap the argument
order.
* The default should be to not require a null terminator. Very few clients
require this, but many end up asking for it just because it is the default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186984 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
f65712bfe35a038e5895ffc859bcf43fda35a8fd 23-Jul-2013 Eli Bendersky <eliben@google.com> Add a simple unit test for MemoryBuffer::getOpenFile


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186887 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
5a88dda4be791426ab4d20a6a6c9c65d66614a27 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for unittest/...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/MemoryBufferTest.cpp
2d6d585c85ce8c56461f17b7b49fff24eed7b8fb 04-Oct-2012 Andrew Kaylor <andrew.kaylor@intel.com> Adding MCJIT and MemoryBuffer unit tests

Patch by Daniel Malea.

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