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 is distributed under the University of Illinois Open Source
00006 // 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/Support/Memory.h"
00016 #include "llvm/Config/config.h"
00017 #include "llvm/Support/Valgrind.h"
00018 
00019 // Include the platform-specific parts of this class.
00020 #ifdef LLVM_ON_UNIX
00021 #include "Unix/Memory.inc"
00022 #endif
00023 #ifdef LLVM_ON_WIN32
00024 #include "Windows/Memory.inc"
00025 #endif