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