1 //===- MappedFile.cpp - MappedFile Support ----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by Reid Spencer and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the mapped file concept.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/System/MappedFile.h"
15 #include "llvm/Config/config.h"
20 //===----------------------------------------------------------------------===//
21 //=== WARNING: Implementation here must contain only TRULY operating system
22 //=== independent code.
23 //===----------------------------------------------------------------------===//
27 // Include the platform-specific parts of this class.
29 #include "Unix/MappedFile.inc"
32 #include "Win32/MappedFile.inc"
35 DEFINING_FILE_FOR(SystemMappedFile
)