1 //===- Memory.cpp - Memory Handling 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 defines some helpful functions for allocating memory and dealing
11 // with memory mapped files
13 //===----------------------------------------------------------------------===//
15 #include "llvm/System/Memory.h"
16 #include "llvm/Config/config.h"
17 #include "llvm/System/IncludeFile.h"
22 //===----------------------------------------------------------------------===//
23 //=== WARNING: Implementation here must contain only TRULY operating system
24 //=== independent code.
25 //===----------------------------------------------------------------------===//
29 // Include the platform-specific parts of this class.
31 #include "Unix/Memory.inc"
34 #include "Win32/Memory.inc"
37 DEFINING_FILE_FOR(SystemMemory
)