1218885Sdim//===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===// 2218885Sdim// 3218885Sdim// The LLVM Compiler Infrastructure 4218885Sdim// 5218885Sdim// This file is distributed under the University of Illinois Open Source 6218885Sdim// License. See LICENSE.TXT for details. 7218885Sdim// 8218885Sdim//===----------------------------------------------------------------------===// 9218885Sdim// 10218885Sdim// This file defines some helpful functions for allocating memory and dealing 11218885Sdim// with memory mapped files 12218885Sdim// 13218885Sdim//===----------------------------------------------------------------------===// 14218885Sdim 15218885Sdim#include "llvm/Support/Memory.h" 16252723Sdim#include "llvm/Config/config.h" 17218885Sdim#include "llvm/Support/Valgrind.h" 18218885Sdim 19218885Sdim// Include the platform-specific parts of this class. 20218885Sdim#ifdef LLVM_ON_UNIX 21218885Sdim#include "Unix/Memory.inc" 22218885Sdim#endif 23218885Sdim#ifdef LLVM_ON_WIN32 24218885Sdim#include "Windows/Memory.inc" 25218885Sdim#endif 26