LLDB mainline
MemoryHistory.h
Go to the documentation of this file.
1//===-- MemoryHistory.h -----------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_TARGET_MEMORYHISTORY_H
10#define LLDB_TARGET_MEMORYHISTORY_H
11
12#include <vector>
13
15#include "lldb/lldb-private.h"
16#include "lldb/lldb-types.h"
17
18namespace lldb_private {
19
20typedef std::vector<lldb::ThreadSP> HistoryThreads;
21
22class MemoryHistory : public std::enable_shared_from_this<MemoryHistory>,
23 public PluginInterface {
24public:
26
28};
29
30} // namespace lldb_private
31
32#endif // LLDB_TARGET_MEMORYHISTORY_H
virtual HistoryThreads GetHistoryThreads(lldb::addr_t address)=0
static lldb::MemoryHistorySP FindPlugin(const lldb::ProcessSP process)
A class that represents a running process on the host machine.
std::vector< lldb::ThreadSP > HistoryThreads
Definition: MemoryHistory.h:20
std::shared_ptr< lldb_private::MemoryHistory > MemoryHistorySP
Definition: lldb-forward.h:370
std::shared_ptr< lldb_private::Process > ProcessSP
Definition: lldb-forward.h:389
uint64_t addr_t
Definition: lldb-types.h:80