LLVM API Documentation

Memory.cpp

Go to the documentation of this file.
00001 //===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file was developed by Reid Spencer and is distributed under the
00006 // University of Illinois Open Source License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file defines some helpful functions for allocating memory and dealing
00011 // with memory mapped files
00012 //
00013 //===----------------------------------------------------------------------===//
00014 
00015 #include "llvm/System/Memory.h"
00016 #include "llvm/Config/config.h"
00017 
00018 namespace llvm {
00019 using namespace sys;
00020 
00021 //===----------------------------------------------------------------------===//
00022 //=== WARNING: Implementation here must contain only TRULY operating system
00023 //===          independent code.
00024 //===----------------------------------------------------------------------===//
00025 
00026 }
00027 
00028 // Include the platform-specific parts of this class.
00029 #ifdef LLVM_ON_UNIX
00030 #include "Unix/Memory.inc"
00031 #endif
00032 #ifdef LLVM_ON_WIN32
00033 #include "Win32/Memory.inc"
00034 #endif
00035