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 #include "llvm/System/IncludeFile.h"
00018 
00019 namespace llvm {
00020 using namespace sys;
00021 
00022 //===----------------------------------------------------------------------===//
00023 //=== WARNING: Implementation here must contain only TRULY operating system
00024 //===          independent code.
00025 //===----------------------------------------------------------------------===//
00026 
00027 }
00028 
00029 // Include the platform-specific parts of this class.
00030 #ifdef LLVM_ON_UNIX
00031 #include "Unix/Memory.inc"
00032 #endif
00033 #ifdef LLVM_ON_WIN32
00034 #include "Win32/Memory.inc"
00035 #endif
00036 
00037 DEFINING_FILE_FOR(SystemMemory)