MemoryHistory.h revision 341825
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
24namespace lldb_private {
25
26typedef std::vector<lldb::ThreadSP> HistoryThreads;
27
28class MemoryHistory : public std::enable_shared_from_this<MemoryHistory>,
29                      public PluginInterface {
30public:
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_
39