diff options
| author | Michał Górny <mgorny@moritz.systems> | 2021-10-01 17:21:45 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@moritz.systems> | 2021-10-05 12:40:55 +0200 |
| commit | 214054f78a4e40656b17838300dff2f136032172 (patch) | |
| tree | 24fe957b6efd89e69c0b86e4ecbaa479fb9cd63b /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | |
| parent | 3334b9d70bc86501b91eae0a5ec2459ef2da6bb3 (diff) | |
[lldb] Move DynamicRegisterInfo to public Target library
Move DynamicRegisterInfo from the internal lldbPluginProcessUtility
library to the public lldbTarget library. This is a prerequisite
towards ABI plugin changes that are going to pass DynamicRegisterInfo
parameters.
Differential Revision: https://reviews.llvm.org/D110942
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
| -rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h index 4bdd38fc8100..743fb545e340 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h @@ -13,11 +13,10 @@ #if LLDB_ENABLE_PYTHON +#include "lldb/Target/DynamicRegisterInfo.h" #include "lldb/Target/OperatingSystem.h" #include "lldb/Utility/StructuredData.h" -class DynamicRegisterInfo; - namespace lldb_private { class ScriptInterpreter; } @@ -72,14 +71,14 @@ protected: lldb_private::ThreadList &old_thread_list, std::vector<bool> &core_used_map, bool *did_create_ptr); - DynamicRegisterInfo *GetDynamicRegisterInfo(); + lldb_private::DynamicRegisterInfo *GetDynamicRegisterInfo(); lldb::ValueObjectSP m_thread_list_valobj_sp; - std::unique_ptr<DynamicRegisterInfo> m_register_info_up; + std::unique_ptr<lldb_private::DynamicRegisterInfo> m_register_info_up; lldb_private::ScriptInterpreter *m_interpreter; lldb_private::StructuredData::ObjectSP m_python_object_sp; }; -#endif +#endif // LLDB_ENABLE_PYTHON #endif // liblldb_OperatingSystemPython_h_ |
