File indexing completed on 2026-05-10 08:42:54
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_TARGET_RUNTIME_H
0010 #define LLDB_TARGET_RUNTIME_H
0011
0012 #include "lldb/Target/Process.h"
0013
0014 namespace lldb_private {
0015 class Runtime {
0016 public:
0017 Runtime(Process *process) : m_process(process) {}
0018 virtual ~Runtime() = default;
0019 Runtime(const Runtime &) = delete;
0020 const Runtime &operator=(const Runtime &) = delete;
0021
0022 Process *GetProcess() { return m_process; }
0023 Target &GetTargetRef() { return m_process->GetTarget(); }
0024
0025
0026 virtual void ModulesDidLoad(const ModuleList &module_list) = 0;
0027
0028 protected:
0029 Process *m_process;
0030 };
0031 }
0032
0033 #endif