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