blob: 054cc966a3e7b71bb1dd75d6d634bed11d6f9111 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
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"
16#include "llvm/Config/config.h"
Dan Gohmanf17a25c2007-07-18 16:29:46 +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.
29#ifdef LLVM_ON_UNIX
30#include "Unix/Memory.inc"
31#endif
32#ifdef LLVM_ON_WIN32
33#include "Win32/Memory.inc"
34#endif