Initial commit of new FileOutputBuffer support class.
authorNick Kledzik <kledzik@apple.com>
Wed, 1 Aug 2012 02:29:50 +0000 (02:29 +0000)
committerNick Kledzik <kledzik@apple.com>
Wed, 1 Aug 2012 02:29:50 +0000 (02:29 +0000)
commitadfe2637b839efe041165f27c9ad57e3befb2be0
tree4a2e92d6d1eb2d3c85b8b8669b3c186baaed2b56
parentc15ad8517719a525ac3b88b6c49b451160691eaa
Initial commit of new FileOutputBuffer support class.
Since the llvm::sys::fs::map_file_pages() support function it relies on
is not yet implemented on Windows, the unit tests for FileOutputBuffer
are currently conditionalized to run only on unix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161099 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileOutputBuffer.h [new file with mode: 0644]
lib/Support/CMakeLists.txt
lib/Support/FileOutputBuffer.cpp [new file with mode: 0644]
unittests/Support/CMakeLists.txt
unittests/Support/FileOutputBufferTest.cpp [new file with mode: 0644]