LLDB
mainline
llvm-project
lldb
include
lldb
Target
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
14
#include "
lldb/Core/PluginInterface.h
"
15
#include "
lldb/lldb-private.h
"
16
#include "
lldb/lldb-types.h
"
17
18
namespace
lldb_private
{
19
20
typedef
std::vector<lldb::ThreadSP>
HistoryThreads
;
21
22
class
MemoryHistory
:
public
std::enable_shared_from_this<MemoryHistory>,
23
public
PluginInterface
{
24
public
:
25
static
lldb::MemoryHistorySP
FindPlugin
(
const
lldb::ProcessSP
process);
26
27
virtual
HistoryThreads
GetHistoryThreads
(
lldb::addr_t
address) = 0;
28
};
29
30
}
// namespace lldb_private
31
32
#endif
// LLDB_TARGET_MEMORYHISTORY_H
PluginInterface.h
lldb_private::MemoryHistory
Definition:
MemoryHistory.h:23
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:
SBAddressRange.h:14
lldb_private::HistoryThreads
std::vector< lldb::ThreadSP > HistoryThreads
Definition:
MemoryHistory.h:20
lldb::MemoryHistorySP
std::shared_ptr< lldb_private::MemoryHistory > MemoryHistorySP
Definition:
lldb-forward.h:368
lldb::ProcessSP
std::shared_ptr< lldb_private::Process > ProcessSP
Definition:
lldb-forward.h:387
lldb::addr_t
uint64_t addr_t
Definition:
lldb-types.h:80
Generated on Fri Nov 22 2024 09:34:27 for LLDB by
1.9.6