]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/Target/MemoryHistory.h
MFV r333789: libpcap 1.9.0 (pre-release)
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / Target / MemoryHistory.h
1 //===-- MemoryHistory.h ---------------------------------------------------*-
2 //C++ -*-===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #ifndef liblldb_MemoryHistory_h_
12 #define liblldb_MemoryHistory_h_
13
14 // C Includes
15 // C++ Includes
16 #include <vector>
17
18 // Other libraries and framework includes
19 // Project includes
20 #include "lldb/Core/PluginInterface.h"
21 #include "lldb/lldb-private.h"
22 #include "lldb/lldb-types.h"
23
24 namespace lldb_private {
25
26 typedef std::vector<lldb::ThreadSP> HistoryThreads;
27
28 class MemoryHistory : public std::enable_shared_from_this<MemoryHistory>,
29                       public PluginInterface {
30 public:
31   static lldb::MemoryHistorySP FindPlugin(const lldb::ProcessSP process);
32
33   virtual HistoryThreads GetHistoryThreads(lldb::addr_t address) = 0;
34 };
35
36 } // namespace lldb_private
37
38 #endif // liblldb_MemoryHistory_h_