//===-- Memory.h ------------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_TARGET_MEMORY_H #define LLDB_TARGET_MEMORY_H #include "lldb/Utility/RangeMap.h" #include "lldb/lldb-private.h" #include <map> #include <mutex> #include <vector> namespace lldb_private { // A class to track memory that was read from a live process between // runs. class MemoryCache { … }; class AllocatedBlock { … }; // A class that can track allocated memory and give out allocated memory // without us having to make an allocate/deallocate call every time we need // some memory in a process that is being debugged. class AllocatedMemoryCache { … }; } // namespace lldb_private #endif // LLDB_TARGET_MEMORY_H