[PATCH] [Support][MemoryBuffer] Use sys::fs::mapped_file_region instead of sys::Path::MapInFilePages.
Michael Spencer
bigcheesegs at gmail.com
Mon Mar 11 19:11:12 PDT 2013
================
Comment at: lib/Support/MemoryBuffer.cpp:188-190
@@ -185,4 +187,5 @@
namespace {
/// MemoryBufferMMapFile - This represents a file that was mapped in with the
/// sys::Path::MapInFilePages method. When destroyed, it calls the
/// sys::Path::UnMapFilePages method.
+class MemoryBufferMMapFile : public MemoryBuffer {
----------------
I'll fix this comment.
http://llvm-reviews.chandlerc.com/D528
More information about the llvm-commits
mailing list