blob: 1ced1e6f0f04ec5812732b621a6ddf396bb67920 [file] [log] [blame]
Reid Spencercbad7012004-09-11 04:59:30 +00001//===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
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.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines some helpful functions for allocating memory and dealing
11// with memory mapped files
12//
13//===----------------------------------------------------------------------===//
14
15#include "llvm/System/Memory.h"
Reid Spencerce799952004-12-27 06:15:57 +000016#include "llvm/Config/config.h"
Reid Spencercbad7012004-09-11 04:59:30 +000017
18namespace llvm {
19using namespace sys;
20
21//===----------------------------------------------------------------------===//
22//=== WARNING: Implementation here must contain only TRULY operating system
23//=== independent code.
24//===----------------------------------------------------------------------===//
25
26}
27
28// Include the platform-specific parts of this class.
Reid Spencerce799952004-12-27 06:15:57 +000029#ifdef LLVM_ON_UNIX
30#include "Unix/Memory.cpp"
31#endif
32#ifdef LLVM_ON_WIN32
33#include "Win32/Memory.cpp"
34#endif
Reid Spencercbad7012004-09-11 04:59:30 +000035
36// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab