Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:53

0001 //===-- MemoryHistory.h -----------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_TARGET_MEMORYHISTORY_H
0010 #define LLDB_TARGET_MEMORYHISTORY_H
0011 
0012 #include <vector>
0013 
0014 #include "lldb/Core/PluginInterface.h"
0015 #include "lldb/lldb-private.h"
0016 #include "lldb/lldb-types.h"
0017 
0018 namespace lldb_private {
0019 
0020 typedef std::vector<lldb::ThreadSP> HistoryThreads;
0021 
0022 class MemoryHistory : public std::enable_shared_from_this<MemoryHistory>,
0023                       public PluginInterface {
0024 public:
0025   static lldb::MemoryHistorySP FindPlugin(const lldb::ProcessSP process);
0026 
0027   virtual HistoryThreads GetHistoryThreads(lldb::addr_t address) = 0;
0028 };
0029 
0030 } // namespace lldb_private
0031 
0032 #endif // LLDB_TARGET_MEMORYHISTORY_H