1 //===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines some helpful functions for allocating memory and dealing
11 // with memory mapped files
13 //===----------------------------------------------------------------------===//
15 #include "llvm/Support/Memory.h"
16 #include "llvm/Config/config.h"
17 #include "llvm/Support/Valgrind.h"
19 // Include the platform-specific parts of this class.
21 #include "Unix/Memory.inc"
24 #include "Windows/Memory.inc"