First version of the MappedFile abstraction for operating system idependent
[oota-llvm.git] / lib / System / MappedFile.cpp
diff --git a/lib/System/MappedFile.cpp b/lib/System/MappedFile.cpp
new file mode 100644 (file)
index 0000000..55e1701
--- /dev/null
@@ -0,0 +1,29 @@
+//===- MappedFile.cpp - MappedFile Support ----------------------*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by Reid Spencer and is distributed under the 
+// University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
+//
+// This file implements the mapped file concept.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/System/MappedFile.h"
+
+namespace llvm {
+using namespace sys;
+
+//===----------------------------------------------------------------------===//
+//=== WARNING: Implementation here must contain only TRULY operating system
+//===          independent code. 
+//===----------------------------------------------------------------------===//
+
+}
+
+// Include the platform-specific parts of this class.
+#include "platform/MappedFile.cpp"
+
+// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab