aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-09-10 14:38:27 +0200
committerPavel Labath <pavel@labath.sk>2021-09-13 10:29:00 +0200
commitb03126768a842aa80bd20ae137ba3df52043e641 (patch)
tree07a6bfa630c5eb42a386d1ea7d3f54ceb8c53a26 /lldb/source/Plugins/OperatingSystem/Python
parent7e337d8ba2ff5015d83f355be1049e3e13fa4d18 (diff)
downloadllvm-b03126768a842aa80bd20ae137ba3df52043e641.zip
llvm-b03126768a842aa80bd20ae137ba3df52043e641.tar.gz
llvm-b03126768a842aa80bd20ae137ba3df52043e641.tar.bz2
[lldb] Remove PluginInterface::GetPluginVersion
In all these years, we haven't found a use for this function (it has zero callers). Lets just remove the boilerplate. Differential Revision: https://reviews.llvm.org/D109600
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp2
-rw-r--r--lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
index 730c88f..8c9e31d 100644
--- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
@@ -146,8 +146,6 @@ ConstString OperatingSystemPython::GetPluginName() {
return GetPluginNameStatic();
}
-uint32_t OperatingSystemPython::GetPluginVersion() { return 1; }
-
bool OperatingSystemPython::UpdateThreadList(ThreadList &old_thread_list,
ThreadList &core_thread_list,
ThreadList &new_thread_list) {
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
index 4a594cf2..4bdd38f 100644
--- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
+++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
@@ -44,8 +44,6 @@ public:
// lldb_private::PluginInterface Methods
lldb_private::ConstString GetPluginName() override;
- uint32_t GetPluginVersion() override;
-
// lldb_private::OperatingSystem Methods
bool UpdateThreadList(lldb_private::ThreadList &old_thread_list,
lldb_private::ThreadList &real_thread_list,