1 //===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // 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"
21 //===----------------------------------------------------------------------===//
22 //=== WARNING: Implementation here must contain only TRULY operating system
23 //=== independent code.
24 //===----------------------------------------------------------------------===//
28 // Include the platform-specific parts of this class.
30 #include "Unix/Memory.inc"
33 #include "Win32/Memory.inc"