labath created this revision. labath added reviewers: teemperor, JDevlieghere. Herald added subscribers: atanasyan, jrtc27, kbarton, sbc100, nemanjai, sdardis, emaste. labath requested review of this revision. Herald added subscribers: MaskRay, aheejin. Herald added a project: LLDB.
In all these years, we haven't found a use for this function (it has zero callers). Lets just remove the boilerplate. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D109600 Files: lldb/include/lldb/Core/PluginInterface.h lldb/include/lldb/Symbol/SymbolVendor.h lldb/include/lldb/Target/ProcessTrace.h lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp lldb/source/Plugins/ABI/ARC/ABISysV_arc.h lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp lldb/source/Plugins/ABI/ARM/ABISysV_arm.h lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp lldb/source/Plugins/ABI/Mips/ABISysV_mips.h lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp lldb/source/Plugins/ABI/Mips/ABISysV_mips64.h lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h lldb/source/Plugins/ABI/X86/ABISysV_i386.h lldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp lldb/source/Plugins/ABI/X86/ABISysV_x86_64.h lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.cpp lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp lldb/source/Plugins/Architecture/Arm/ArchitectureArm.h lldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp lldb/source/Plugins/Architecture/Mips/ArchitectureMips.h lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h lldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.h lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.h lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.h lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.h lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.h lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.h lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp lldb/source/Plugins/Language/ObjC/ObjCLanguage.h lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.h lldb/source/Plugins/ObjectFile/PDB/ObjectFilePDB.h lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h lldb/source/Plugins/Platform/Android/PlatformAndroid.h lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h lldb/source/Plugins/Platform/Linux/PlatformLinux.h lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h lldb/source/Plugins/Platform/Windows/PlatformWindows.h lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp lldb/source/Plugins/Process/elf-core/ProcessElfCore.h lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp lldb/source/Plugins/Process/mach-core/ProcessMachCore.h lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp lldb/source/Plugins/Process/minidump/ProcessMinidump.h lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp lldb/source/Plugins/Process/scripted/ScriptedProcess.h lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.cpp lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.h lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h lldb/source/Symbol/SymbolVendor.cpp lldb/source/Target/ProcessTrace.cpp lldb/unittests/Expression/DWARFExpressionTest.cpp lldb/unittests/Process/ProcessEventDataTest.cpp lldb/unittests/Target/ExecutionContextTest.cpp lldb/unittests/Target/RemoteAwarePlatformTest.cpp lldb/unittests/Thread/ThreadTest.cpp
Index: lldb/unittests/Thread/ThreadTest.cpp =================================================================== --- lldb/unittests/Thread/ThreadTest.cpp +++ lldb/unittests/Thread/ThreadTest.cpp @@ -56,7 +56,6 @@ return false; } ConstString GetPluginName() override { return ConstString("Dummy"); } - uint32_t GetPluginVersion() override { return 0; } ProcessModID &GetModIDNonConstRef() { return m_mod_id; } }; Index: lldb/unittests/Target/RemoteAwarePlatformTest.cpp =================================================================== --- lldb/unittests/Target/RemoteAwarePlatformTest.cpp +++ lldb/unittests/Target/RemoteAwarePlatformTest.cpp @@ -25,7 +25,6 @@ using RemoteAwarePlatform::RemoteAwarePlatform; MOCK_METHOD0(GetDescription, const char *()); - MOCK_METHOD0(GetPluginVersion, uint32_t()); MOCK_METHOD0(GetPluginName, ConstString()); MOCK_METHOD2(GetSupportedArchitectureAtIndex, bool(uint32_t, ArchSpec &)); MOCK_METHOD4(Attach, @@ -42,7 +41,6 @@ using Platform::Platform; MOCK_METHOD0(GetDescription, const char *()); - MOCK_METHOD0(GetPluginVersion, uint32_t()); MOCK_METHOD0(GetPluginName, ConstString()); MOCK_METHOD2(GetSupportedArchitectureAtIndex, bool(uint32_t, ArchSpec &)); MOCK_METHOD4(Attach, Index: lldb/unittests/Target/ExecutionContextTest.cpp =================================================================== --- lldb/unittests/Target/ExecutionContextTest.cpp +++ lldb/unittests/Target/ExecutionContextTest.cpp @@ -63,7 +63,6 @@ return false; } ConstString GetPluginName() override { return ConstString("Dummy"); } - uint32_t GetPluginVersion() override { return 0; } }; } // namespace Index: lldb/unittests/Process/ProcessEventDataTest.cpp =================================================================== --- lldb/unittests/Process/ProcessEventDataTest.cpp +++ lldb/unittests/Process/ProcessEventDataTest.cpp @@ -58,7 +58,6 @@ return false; } ConstString GetPluginName() override { return ConstString("Dummy"); } - uint32_t GetPluginVersion() override { return 0; } ProcessModID &GetModIDNonConstRef() { return m_mod_id; } }; Index: lldb/unittests/Expression/DWARFExpressionTest.cpp =================================================================== --- lldb/unittests/Expression/DWARFExpressionTest.cpp +++ lldb/unittests/Expression/DWARFExpressionTest.cpp @@ -310,7 +310,6 @@ struct MockProcess : Process { using Process::Process; ConstString GetPluginName() override { return ConstString("mock process"); } - uint32_t GetPluginVersion() override { return 0; } bool CanDebug(lldb::TargetSP target, bool plugin_specified_by_name) override { return false; Index: lldb/source/Target/ProcessTrace.cpp =================================================================== --- lldb/source/Target/ProcessTrace.cpp +++ lldb/source/Target/ProcessTrace.cpp @@ -59,8 +59,6 @@ ConstString ProcessTrace::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ProcessTrace::GetPluginVersion() { return 1; } - void ProcessTrace::DidAttach(ArchSpec &process_arch) { ListenerSP listener_sp( Listener::MakeListener("lldb.process_trace.did_attach_listener")); Index: lldb/source/Symbol/SymbolVendor.cpp =================================================================== --- lldb/source/Symbol/SymbolVendor.cpp +++ lldb/source/Symbol/SymbolVendor.cpp @@ -75,5 +75,3 @@ static ConstString g_name("vendor-default"); return g_name; } - -uint32_t SymbolVendor::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h =================================================================== --- lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h +++ lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.h @@ -52,8 +52,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - private: UnwindAssembly_x86(const lldb_private::ArchSpec &arch); Index: lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp =================================================================== --- lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp +++ lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp @@ -245,8 +245,6 @@ return GetPluginNameStatic(); } -uint32_t UnwindAssembly_x86::GetPluginVersion() { return 1; } - void UnwindAssembly_x86::Initialize() { PluginManager::RegisterPlugin(GetPluginNameStatic(), GetPluginDescriptionStatic(), CreateInstance); Index: lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h =================================================================== --- lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h +++ lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h @@ -58,8 +58,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - private: // Call CreateInstance to get an instance of this class UnwindAssemblyInstEmulation(const lldb_private::ArchSpec &arch, Index: lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp =================================================================== --- lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp +++ lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -338,8 +338,6 @@ return GetPluginNameStatic(); } -uint32_t UnwindAssemblyInstEmulation::GetPluginVersion() { return 1; } - void UnwindAssemblyInstEmulation::Initialize() { PluginManager::RegisterPlugin(GetPluginNameStatic(), GetPluginDescriptionStatic(), CreateInstance); Index: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h =================================================================== --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h +++ lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h @@ -140,8 +140,6 @@ // PluginInterface functions ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - static ConstString GetPluginNameStatic(); static lldb::TypeSystemSP CreateInstance(lldb::LanguageType language, Index: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp =================================================================== --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -578,8 +578,6 @@ return TypeSystemClang::GetPluginNameStatic(); } -uint32_t TypeSystemClang::GetPluginVersion() { return 1; } - lldb::TypeSystemSP TypeSystemClang::CreateInstance(lldb::LanguageType language, lldb_private::Module *module, Target *target) { Index: lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.h =================================================================== --- lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.h +++ lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.h @@ -31,8 +31,6 @@ static void Terminate(); static ConstString GetPluginNameStatic(); - - uint32_t GetPluginVersion() override; /// \} }; Index: lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.cpp =================================================================== --- lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.cpp +++ lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.cpp @@ -46,8 +46,6 @@ ConstString TraceExporterCTF::GetPluginName() { return GetPluginNameStatic(); } -uint32_t TraceExporterCTF::GetPluginVersion() { return 1; } - Expected<TraceExporterUP> TraceExporterCTF::CreateInstance() { return std::make_unique<TraceExporterCTF>(); } Index: lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h =================================================================== --- lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h +++ lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h @@ -58,8 +58,6 @@ CreateInstanceForLiveProcess(Process &process); static ConstString GetPluginNameStatic(); - - uint32_t GetPluginVersion() override; /// \} lldb::CommandObjectSP Index: lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp =================================================================== --- lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp +++ lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp @@ -64,8 +64,6 @@ ConstString TraceIntelPT::GetPluginName() { return GetPluginNameStatic(); } -uint32_t TraceIntelPT::GetPluginVersion() { return 1; } - void TraceIntelPT::Dump(Stream *s) const {} llvm::Error TraceIntelPT::SaveLiveTraceToDisk(FileSpec directory) { Index: lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h =================================================================== --- lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h +++ lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h @@ -100,8 +100,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: lldb::user_id_t m_break_id; mutable std::recursive_mutex m_mutex; Index: lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp =================================================================== --- lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp +++ lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp @@ -997,5 +997,3 @@ lldb_private::ConstString SystemRuntimeMacOSX::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t SystemRuntimeMacOSX::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h =================================================================== --- lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h +++ lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h @@ -31,7 +31,6 @@ /// PluginInterface protocol. /// \{ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; /// \} }; Index: lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp =================================================================== --- lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp +++ lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.cpp @@ -142,5 +142,3 @@ // PluginInterface protocol ConstString SymbolVendorWasm::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t SymbolVendorWasm::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h =================================================================== --- lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h +++ lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h @@ -32,8 +32,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - - uint32_t GetPluginVersion() override; }; #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_MACOSX_SYMBOLVENDORMACOSX_H Index: lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp =================================================================== --- lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp +++ lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp @@ -315,5 +315,3 @@ ConstString SymbolVendorMacOSX::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t SymbolVendorMacOSX::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h =================================================================== --- lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h +++ lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h @@ -32,8 +32,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - - uint32_t GetPluginVersion() override; }; #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_ELF_SYMBOLVENDORELF_H Index: lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp =================================================================== --- lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp +++ lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp @@ -147,5 +147,3 @@ // PluginInterface protocol ConstString SymbolVendorELF::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t SymbolVendorELF::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h =================================================================== --- lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h +++ lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h @@ -87,8 +87,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: uint32_t CalculateNumCompileUnits() override; Index: lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp +++ lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp @@ -265,5 +265,3 @@ lldb_private::ConstString SymbolFileSymtab::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t SymbolFileSymtab::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h =================================================================== --- lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h +++ lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h @@ -163,8 +163,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - llvm::pdb::IPDBSession &GetPDBSession(); const llvm::pdb::IPDBSession &GetPDBSession() const; Index: lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp +++ lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp @@ -1712,8 +1712,6 @@ return g_name; } -uint32_t SymbolFilePDB::GetPluginVersion() { return 1; } - IPDBSession &SymbolFilePDB::GetPDBSession() { return *m_session_up; } const IPDBSession &SymbolFilePDB::GetPDBSession() const { Index: lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h =================================================================== --- lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h +++ lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h @@ -153,8 +153,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - llvm::pdb::PDBFile &GetPDBFile() { return m_index->pdb(); } const llvm::pdb::PDBFile &GetPDBFile() const { return m_index->pdb(); } Index: lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp +++ lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp @@ -1571,5 +1571,3 @@ static ConstString g_name("pdb"); return g_name; } - -uint32_t SymbolFileNativePDB::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h +++ lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h @@ -142,8 +142,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: enum { kHaveInitializedOSOs = (1 << 0), kNumFlags }; Index: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp +++ lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp @@ -1241,8 +1241,6 @@ return GetPluginNameStatic(); } -uint32_t SymbolFileDWARFDebugMap::GetPluginVersion() { return 1; } - lldb::CompUnitSP SymbolFileDWARFDebugMap::GetCompileUnit(SymbolFileDWARF *oso_dwarf) { if (oso_dwarf) { Index: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h +++ lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h @@ -220,8 +220,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - DWARFDebugAbbrev *DebugAbbrev(); DWARFDebugInfo &DebugInfo(); Index: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -3819,8 +3819,6 @@ // PluginInterface protocol ConstString SymbolFileDWARF::GetPluginName() { return GetPluginNameStatic(); } -uint32_t SymbolFileDWARF::GetPluginVersion() { return 1; } - void SymbolFileDWARF::Dump(lldb_private::Stream &s) { SymbolFile::Dump(s); m_index->Dump(s); Index: lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h =================================================================== --- lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h +++ lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h @@ -147,7 +147,6 @@ const RegisterInfoResolver &resolver) override; ConstString GetPluginName() override { return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } private: // A class representing a position in the breakpad file. Useful for Index: lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h =================================================================== --- lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h +++ lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h @@ -48,8 +48,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // StructuredDataPlugin API bool SupportsStructuredDataType(ConstString type_name) override; Index: lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp =================================================================== --- lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp +++ lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp @@ -1068,8 +1068,6 @@ return GetStaticPluginName(); } -uint32_t StructuredDataDarwinLog::GetPluginVersion() { return 1; } - #pragma mark - #pragma mark StructuredDataPlugin API Index: lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h =================================================================== --- lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h +++ lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h @@ -294,8 +294,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - class Locker : public ScriptInterpreterLocker { public: enum OnEntry { Index: lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp =================================================================== --- lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -595,8 +595,6 @@ return GetPluginNameStatic(); } -uint32_t ScriptInterpreterPythonImpl::GetPluginVersion() { return 1; } - void ScriptInterpreterPythonImpl::IOHandlerActivated(IOHandler &io_handler, bool interactive) { const char *instructions = nullptr; Index: lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h =================================================================== --- lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h +++ lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.h @@ -38,8 +38,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - - uint32_t GetPluginVersion() override; }; } // namespace lldb_private Index: lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp =================================================================== --- lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp +++ lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp @@ -69,5 +69,3 @@ lldb_private::ConstString ScriptInterpreterNone::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ScriptInterpreterNone::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h =================================================================== --- lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h +++ lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h @@ -72,8 +72,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - Lua &GetLua(); llvm::Error EnterSession(lldb::user_id_t debugger_id); Index: lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp =================================================================== --- lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp +++ lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp @@ -400,6 +400,4 @@ return GetPluginNameStatic(); } -uint32_t ScriptInterpreterLua::GetPluginVersion() { return 1; } - Lua &ScriptInterpreterLua::GetLua() { return *m_lua; } Index: lldb/source/Plugins/Process/scripted/ScriptedProcess.h =================================================================== --- lldb/source/Plugins/Process/scripted/ScriptedProcess.h +++ lldb/source/Plugins/Process/scripted/ScriptedProcess.h @@ -63,8 +63,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - SystemRuntime *GetSystemRuntime() override { return nullptr; } Status DoLoadCore() override; Index: lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp =================================================================== --- lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp +++ lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp @@ -149,8 +149,6 @@ ConstString ScriptedProcess::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ScriptedProcess::GetPluginVersion() { return 1; } - Status ScriptedProcess::DoLoadCore() { ProcessLaunchInfo launch_info = GetTarget().GetProcessLaunchInfo(); Index: lldb/source/Plugins/Process/minidump/ProcessMinidump.h =================================================================== --- lldb/source/Plugins/Process/minidump/ProcessMinidump.h +++ lldb/source/Plugins/Process/minidump/ProcessMinidump.h @@ -57,8 +57,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - SystemRuntime *GetSystemRuntime() override { return nullptr; } Status DoDestroy() override; Index: lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp =================================================================== --- lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp +++ lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp @@ -64,7 +64,6 @@ return ConstString("placeholder"); } ConstString GetPluginName() override { return GetStaticPluginName(); } - uint32_t GetPluginVersion() override { return 1; } bool ParseHeader() override { return true; } Type CalculateType() override { return eTypeUnknown; } Strata CalculateStrata() override { return eStrataUnknown; } @@ -307,8 +306,6 @@ ConstString ProcessMinidump::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ProcessMinidump::GetPluginVersion() { return 1; } - Status ProcessMinidump::DoDestroy() { return Status(); } void ProcessMinidump::RefreshStateAfterStop() { Index: lldb/source/Plugins/Process/mach-core/ProcessMachCore.h =================================================================== --- lldb/source/Plugins/Process/mach-core/ProcessMachCore.h +++ lldb/source/Plugins/Process/mach-core/ProcessMachCore.h @@ -51,8 +51,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // Process Control lldb_private::Status DoDestroy() override; Index: lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp =================================================================== --- lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp +++ lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp @@ -131,8 +131,6 @@ // PluginInterface ConstString ProcessMachCore::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ProcessMachCore::GetPluginVersion() { return 1; } - bool ProcessMachCore::GetDynamicLoaderAddress(lldb::addr_t addr) { Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_DYNAMIC_LOADER | LIBLLDB_LOG_PROCESS)); Index: lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h =================================================================== --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -104,8 +104,6 @@ // PluginInterface protocol ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // Process Control Status WillResume() override; Index: lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp =================================================================== --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -333,8 +333,6 @@ // PluginInterface ConstString ProcessGDBRemote::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ProcessGDBRemote::GetPluginVersion() { return 1; } - bool ProcessGDBRemote::ParsePythonTargetDefinition( const FileSpec &target_definition_fspec) { ScriptInterpreter *interpreter = Index: lldb/source/Plugins/Process/elf-core/ProcessElfCore.h =================================================================== --- lldb/source/Plugins/Process/elf-core/ProcessElfCore.h +++ lldb/source/Plugins/Process/elf-core/ProcessElfCore.h @@ -62,8 +62,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // Process Control lldb_private::Status DoDestroy() override; Index: lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp =================================================================== --- lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp +++ lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp @@ -113,8 +113,6 @@ // PluginInterface ConstString ProcessElfCore::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ProcessElfCore::GetPluginVersion() { return 1; } - lldb::addr_t ProcessElfCore::AddAddressRangeFromLoadSegment( const elf::ELFProgramHeader &header) { const lldb::addr_t addr = header.p_vaddr; Index: lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h =================================================================== --- lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h +++ lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h @@ -47,7 +47,6 @@ // lldb_private::Process overrides ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; Status EnableBreakpointSite(BreakpointSite *bp_site) override; Status DisableBreakpointSite(BreakpointSite *bp_site) override; Index: lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp =================================================================== --- lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp +++ lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp @@ -148,8 +148,6 @@ return GetPluginNameStatic(); } -uint32_t ProcessWindows::GetPluginVersion() { return 1; } - Status ProcessWindows::EnableBreakpointSite(BreakpointSite *bp_site) { if (bp_site->HardwareRequired()) return Status("Hardware breakpoints are not supported."); Index: lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h =================================================================== --- lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h +++ lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h @@ -87,8 +87,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // Process Control lldb_private::Status WillResume() override; Index: lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp =================================================================== --- lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -181,8 +181,6 @@ return GetPluginNameStatic(); } -uint32_t ProcessKDP::GetPluginVersion() { return 1; } - Status ProcessKDP::WillLaunch(Module *module) { Status error; error.SetErrorString("launching not supported in kdp-remote plug-in"); Index: lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h =================================================================== --- lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h +++ lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h @@ -39,8 +39,6 @@ // lldb_private::PluginInterface functions ConstString GetPluginName() override { return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions Status ResolveExecutable(const ModuleSpec &module_spec, lldb::ModuleSP &module_sp, Index: lldb/source/Plugins/Platform/Windows/PlatformWindows.h =================================================================== --- lldb/source/Plugins/Platform/Windows/PlatformWindows.h +++ lldb/source/Plugins/Platform/Windows/PlatformWindows.h @@ -31,8 +31,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetPluginDescriptionStatic(IsHost()); Index: lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h =================================================================== --- lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h +++ lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h @@ -31,8 +31,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetPluginDescriptionStatic(IsHost()); Index: lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h =================================================================== --- lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h +++ lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h @@ -31,8 +31,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetPluginDescriptionStatic(IsHost()); Index: lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h @@ -41,8 +41,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - bool GetSupportedArchitectureAtIndex(uint32_t idx, lldb_private::ArchSpec &arch) override; Index: lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h @@ -37,8 +37,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - const char *GetDescription() override { return GetDescriptionStatic(); } lldb_private::Status Index: lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h @@ -43,8 +43,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions bool GetSupportedArchitectureAtIndex(uint32_t idx, Index: lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h @@ -38,8 +38,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetDescriptionStatic(); } Index: lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h @@ -38,8 +38,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetDescriptionStatic(); } Index: lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h @@ -32,8 +32,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - lldb_private::Status GetSharedModule(const lldb_private::ModuleSpec &module_spec, lldb_private::Process *process, lldb::ModuleSP &module_sp, Index: lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h @@ -46,8 +46,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetDescriptionStatic(); } Index: lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h +++ lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h @@ -48,7 +48,6 @@ lldb_private::ConstString GetPluginName() override { return m_plugin_name; } const char *GetDescription() override { return m_description; } - uint32_t GetPluginVersion() override { return 1; } lldb_private::Status LaunchProcess(lldb_private::ProcessLaunchInfo &launch_info) override; Index: lldb/source/Plugins/Platform/Linux/PlatformLinux.h =================================================================== --- lldb/source/Plugins/Platform/Linux/PlatformLinux.h +++ lldb/source/Plugins/Platform/Linux/PlatformLinux.h @@ -31,8 +31,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetPluginDescriptionStatic(IsHost()); Index: lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h =================================================================== --- lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h +++ lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h @@ -31,8 +31,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions const char *GetDescription() override { return GetPluginDescriptionStatic(IsHost()); Index: lldb/source/Plugins/Platform/Android/PlatformAndroid.h =================================================================== --- lldb/source/Plugins/Platform/Android/PlatformAndroid.h +++ lldb/source/Plugins/Platform/Android/PlatformAndroid.h @@ -36,8 +36,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - // lldb_private::Platform functions Status ConnectRemote(Args &args) override; Index: lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h =================================================================== --- lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h +++ lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h @@ -44,8 +44,6 @@ // 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, Index: lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp =================================================================== --- lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp +++ lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp @@ -146,8 +146,6 @@ return GetPluginNameStatic(); } -uint32_t OperatingSystemPython::GetPluginVersion() { return 1; } - bool OperatingSystemPython::UpdateThreadList(ThreadList &old_thread_list, ThreadList &core_thread_list, ThreadList &new_thread_list) { Index: lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h =================================================================== --- lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h +++ lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h @@ -49,7 +49,6 @@ /// PluginInterface protocol. /// \{ ConstString GetPluginName() override { return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } /// \} /// LLVM RTTI support Index: lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h =================================================================== --- lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h +++ lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h @@ -132,8 +132,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - bool IsWindowsSubsystem(); uint32_t GetRVA(const lldb_private::Address &addr) const; Index: lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp =================================================================== --- lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -1208,5 +1208,3 @@ // PluginInterface protocol ConstString ObjectFilePECOFF::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ObjectFilePECOFF::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ObjectFile/PDB/ObjectFilePDB.h =================================================================== --- lldb/source/Plugins/ObjectFile/PDB/ObjectFilePDB.h +++ lldb/source/Plugins/ObjectFile/PDB/ObjectFilePDB.h @@ -50,8 +50,6 @@ // PluginInterface protocol ConstString GetPluginName() override { return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // LLVM RTTI support static char ID; bool isA(const void *ClassID) const override { Index: lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.h =================================================================== --- lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.h +++ lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.h @@ -55,8 +55,6 @@ lldb::offset_t length, lldb_private::ModuleSpecList &specs); - uint32_t GetPluginVersion() override { return 1; } - // Saves dump in Minidump file format static bool SaveCore(const lldb::ProcessSP &process_sp, const lldb_private::FileSpec &outfile, @@ -67,4 +65,4 @@ ObjectFileMinidump() = default; }; -#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_MINIDUMP_OBJECTFILEMINIDUMP_H \ No newline at end of file +#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_MINIDUMP_OBJECTFILEMINIDUMP_H Index: lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h =================================================================== --- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h +++ lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h @@ -148,8 +148,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: static lldb_private::UUID GetUUID(const llvm::MachO::mach_header &header, Index: lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp =================================================================== --- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -6173,8 +6173,6 @@ return GetPluginNameStatic(); } -uint32_t ObjectFileMachO::GetPluginVersion() { return 1; } - Section *ObjectFileMachO::GetMachHeaderSection() { // Find the first address of the mach header which is the first non-zero file // sized section whose file offset is zero. This is the base file address of Index: lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h =================================================================== --- lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h +++ lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h @@ -98,8 +98,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: lldb::ObjectFileJITDelegateWP m_delegate_wp; }; Index: lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp =================================================================== --- lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp +++ lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp @@ -204,8 +204,6 @@ return GetPluginNameStatic(); } -uint32_t ObjectFileJIT::GetPluginVersion() { return 1; } - bool ObjectFileJIT::SetLoadAddress(Target &target, lldb::addr_t value, bool value_is_offset) { size_t num_loaded_sections = 0; Index: lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h =================================================================== --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h +++ lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h @@ -87,8 +87,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // LLVM RTTI support static char ID; bool isA(const void *ClassID) const override { Index: lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp =================================================================== --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -639,7 +639,6 @@ return GetPluginNameStatic(); } -uint32_t ObjectFileELF::GetPluginVersion() { return m_plugin_version; } // ObjectFile protocol ObjectFileELF::ObjectFileELF(const lldb::ModuleSP &module_sp, Index: lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h =================================================================== --- lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h +++ lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h @@ -46,8 +46,6 @@ // PluginInterface protocol ConstString GetPluginName() override { return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - // LLVM RTTI support static char ID; bool isA(const void *ClassID) const override { Index: lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h =================================================================== --- lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h +++ lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h @@ -61,8 +61,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: llvm::MachO::fat_header m_header; std::vector<llvm::MachO::fat_arch> m_fat_archs; Index: lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp =================================================================== --- lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp +++ lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp @@ -210,8 +210,6 @@ return GetPluginNameStatic(); } -uint32_t ObjectContainerUniversalMachO::GetPluginVersion() { return 1; } - size_t ObjectContainerUniversalMachO::GetModuleSpecifications( const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp, lldb::offset_t data_offset, lldb::offset_t file_offset, Index: lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h =================================================================== --- lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h +++ lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h @@ -70,8 +70,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: struct Object { Object(); Index: lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp =================================================================== --- lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp +++ lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp @@ -438,8 +438,6 @@ return GetPluginNameStatic(); } -uint32_t ObjectContainerBSDArchive::GetPluginVersion() { return 1; } - size_t ObjectContainerBSDArchive::GetModuleSpecifications( const lldb_private::FileSpec &file, lldb::DataBufferSP &data_sp, lldb::offset_t data_offset, lldb::offset_t file_offset, Index: lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h =================================================================== --- lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h +++ lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h @@ -33,8 +33,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - lldb_private::HistoryThreads GetHistoryThreads(lldb::addr_t address) override; private: Index: lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h =================================================================== --- lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h +++ lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h @@ -412,8 +412,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - static bool GetKernelCoordinate(lldb_renderscript::RSCoordinate &coord, Thread *thread_ptr); Index: lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp =================================================================== --- lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +++ lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp @@ -1019,8 +1019,6 @@ return GetPluginNameStatic(); } -uint32_t RenderScriptRuntime::GetPluginVersion() { return 1; } - bool RenderScriptRuntime::GetDynamicTypeAndAddress( ValueObject &in_value, lldb::DynamicValueType use_dynamic, TypeAndOrName &class_type_or_name, Address &address, Index: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h =================================================================== --- lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h +++ lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h @@ -56,8 +56,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - ObjCRuntimeVersions GetRuntimeVersion() const override { return ObjCRuntimeVersions::eAppleObjC_V2; } Index: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp =================================================================== --- lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp +++ lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp @@ -1070,8 +1070,6 @@ return GetPluginNameStatic(); } -uint32_t AppleObjCRuntimeV2::GetPluginVersion() { return 1; } - BreakpointResolverSP AppleObjCRuntimeV2::CreateExceptionResolver(const BreakpointSP &bkpt, bool catch_bp, bool throw_bp) { Index: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h =================================================================== --- lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h +++ lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h @@ -109,8 +109,6 @@ // PluginInterface protocol ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - ObjCRuntimeVersions GetRuntimeVersion() const override { return ObjCRuntimeVersions::eAppleObjC_V1; } Index: lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp =================================================================== --- lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp +++ lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp @@ -102,8 +102,6 @@ return GetPluginNameStatic(); } -uint32_t AppleObjCRuntimeV1::GetPluginVersion() { return 1; } - BreakpointResolverSP AppleObjCRuntimeV1::CreateExceptionResolver(const BreakpointSP &bkpt, bool catch_bp, bool throw_bp) { Index: lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h =================================================================== --- lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h +++ lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h @@ -78,8 +78,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: lldb::BreakpointResolverSP CreateExceptionResolver(const lldb::BreakpointSP &bkpt, Index: lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp =================================================================== --- lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp +++ lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp @@ -415,8 +415,6 @@ return GetPluginNameStatic(); } -uint32_t ItaniumABILanguageRuntime::GetPluginVersion() { return 1; } - BreakpointResolverSP ItaniumABILanguageRuntime::CreateExceptionResolver( const BreakpointSP &bkpt, bool catch_bp, bool throw_bp) { return CreateExceptionResolver(bkpt, catch_bp, throw_bp, false); Index: lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h =================================================================== --- lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h +++ lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.h @@ -44,8 +44,6 @@ // PluginInterface protocol ConstString GetPluginName() override; - - uint32_t GetPluginVersion() override; }; } // namespace lldb_private Index: lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp =================================================================== --- lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp +++ lldb/source/Plugins/Language/ObjCPlusPlus/ObjCPlusPlusLanguage.cpp @@ -44,8 +44,6 @@ return GetPluginNameStatic(); } -uint32_t ObjCPlusPlusLanguage::GetPluginVersion() { return 1; } - // Static Functions Language *ObjCPlusPlusLanguage::CreateInstance(lldb::LanguageType language) { switch (language) { Index: lldb/source/Plugins/Language/ObjC/ObjCLanguage.h =================================================================== --- lldb/source/Plugins/Language/ObjC/ObjCLanguage.h +++ lldb/source/Plugins/Language/ObjC/ObjCLanguage.h @@ -157,8 +157,6 @@ // PluginInterface protocol ConstString GetPluginName() override; - - uint32_t GetPluginVersion() override; }; } // namespace lldb_private Index: lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp =================================================================== --- lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp +++ lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp @@ -59,8 +59,6 @@ return GetPluginNameStatic(); } -uint32_t ObjCLanguage::GetPluginVersion() { return 1; } - // Static Functions Language *ObjCLanguage::CreateInstance(lldb::LanguageType language) { Index: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h =================================================================== --- lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h +++ lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h @@ -135,8 +135,6 @@ // PluginInterface protocol ConstString GetPluginName() override; - - uint32_t GetPluginVersion() override; }; } // namespace lldb_private Index: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp =================================================================== --- lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp +++ lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -99,8 +99,6 @@ return GetPluginNameStatic(); } -uint32_t CPlusPlusLanguage::GetPluginVersion() { return 1; } - // Static Functions Language *CPlusPlusLanguage::CreateInstance(lldb::LanguageType language) { Index: lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.h =================================================================== --- lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.h +++ lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.h @@ -37,8 +37,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - // JITLoader interface void DidAttach() override; Index: lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp =================================================================== --- lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp +++ lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp @@ -438,8 +438,6 @@ return GetPluginNameStatic(); } -uint32_t JITLoaderGDB::GetPluginVersion() { return 1; } - void JITLoaderGDB::Initialize() { PluginManager::RegisterPlugin(GetPluginNameStatic(), GetPluginDescriptionStatic(), CreateInstance, Index: lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.h =================================================================== --- lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.h +++ lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.h @@ -38,8 +38,6 @@ virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); } - uint32_t GetPluginVersion() override { return 1; } - lldb::ThreadCollectionSP GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override; Index: lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.h =================================================================== --- lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.h +++ lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.h @@ -37,8 +37,6 @@ virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); } - uint32_t GetPluginVersion() override { return 1; } - lldb::ThreadCollectionSP GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override; Index: lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.h =================================================================== --- lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.h +++ lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.h @@ -38,8 +38,6 @@ virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); } - uint32_t GetPluginVersion() override { return 1; } - lldb::ThreadCollectionSP GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override; Index: lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h =================================================================== --- lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h +++ lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h @@ -37,8 +37,6 @@ virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); } - uint32_t GetPluginVersion() override { return 1; } - private: InstrumentationRuntimeASan(const lldb::ProcessSP &process_sp) : lldb_private::InstrumentationRuntime(process_sp) {} Index: lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.h =================================================================== --- lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.h +++ lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.h @@ -46,8 +46,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - bool SetTargetTriple(const ArchSpec &arch) override; bool SupportsEmulatingInstructionsOfType(InstructionType inst_type) override { Index: lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h =================================================================== --- lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h +++ lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.h @@ -55,8 +55,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - bool SetTargetTriple(const lldb_private::ArchSpec &arch) override; bool SupportsEmulatingInstructionsOfType( Index: lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h =================================================================== --- lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h +++ lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.h @@ -57,8 +57,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - bool SetTargetTriple(const lldb_private::ArchSpec &arch) override; EmulateInstructionMIPS(const lldb_private::ArchSpec &arch); Index: lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.h =================================================================== --- lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.h +++ lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.h @@ -48,8 +48,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - bool SetTargetTriple(const lldb_private::ArchSpec &arch) override; bool SupportsEmulatingInstructionsOfType( Index: lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h =================================================================== --- lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h +++ lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h @@ -87,8 +87,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } - bool SetTargetTriple(const ArchSpec &arch) override; enum Mode { eModeInvalid = -1, eModeARM, eModeThumb }; Index: lldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h =================================================================== --- lldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h +++ lldb/source/Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h @@ -38,7 +38,6 @@ /// PluginInterface protocol. /// \{ ConstString GetPluginName() override { return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override { return 1; } /// \} }; Index: lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h =================================================================== --- lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h +++ lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h @@ -40,7 +40,6 @@ bool stop) override; ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; protected: lldb::addr_t GetLoadAddress(lldb::ModuleSP executable); Index: lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp +++ lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp @@ -178,8 +178,6 @@ return GetPluginNameStatic(); } -uint32_t DynamicLoaderWindowsDYLD::GetPluginVersion() { return 1; } - ThreadPlanSP DynamicLoaderWindowsDYLD::GetStepThroughTrampolinePlan(Thread &thread, bool stop) { Index: lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h =================================================================== --- lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h +++ lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h @@ -46,8 +46,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - private: void LoadAllImagesAtFileAddresses(); }; Index: lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp +++ lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp @@ -166,5 +166,3 @@ lldb_private::ConstString DynamicLoaderStatic::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t DynamicLoaderStatic::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h =================================================================== --- lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h +++ lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h @@ -55,8 +55,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: /// Runtime linker rendezvous structure. DYLDRendezvous m_rendezvous; Index: lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp +++ lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp @@ -52,8 +52,6 @@ "loads/unloads in POSIX processes."; } -uint32_t DynamicLoaderPOSIXDYLD::GetPluginVersion() { return 1; } - DynamicLoader *DynamicLoaderPOSIXDYLD::CreateInstance(Process *process, bool force) { bool create = force; Index: lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h =================================================================== --- lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h +++ lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h @@ -66,8 +66,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - bool IsFullyInitialized() override; protected: Index: lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp +++ lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp @@ -1146,8 +1146,6 @@ return GetPluginNameStatic(); } -uint32_t DynamicLoaderMacOSXDYLD::GetPluginVersion() { return 1; } - uint32_t DynamicLoaderMacOSXDYLD::AddrByteSize() { std::lock_guard<std::recursive_mutex> baseclass_guard(GetMutex()); Index: lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h =================================================================== --- lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h +++ lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h @@ -62,8 +62,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void PutToLog(lldb_private::Log *log) const; Index: lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp +++ lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp @@ -518,5 +518,3 @@ lldb_private::ConstString DynamicLoaderMacOS::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t DynamicLoaderMacOS::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h =================================================================== --- lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h +++ lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h @@ -49,8 +49,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: /// Runtime linker rendezvous structure. HexagonDYLDRendezvous m_rendezvous; Index: lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp +++ lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp @@ -92,8 +92,6 @@ "loads/unloads in Hexagon processes."; } -uint32_t DynamicLoaderHexagonDYLD::GetPluginVersion() { return 1; } - DynamicLoader *DynamicLoaderHexagonDYLD::CreateInstance(Process *process, bool force) { bool create = force; Index: lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h =================================================================== --- lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h +++ lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h @@ -60,8 +60,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void PrivateInitialize(lldb_private::Process *process); Index: lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp =================================================================== --- lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -1569,8 +1569,6 @@ return GetPluginNameStatic(); } -uint32_t DynamicLoaderDarwinKernel::GetPluginVersion() { return 1; } - lldb::ByteOrder DynamicLoaderDarwinKernel::GetByteOrderFromMagic(uint32_t magic) { switch (magic) { Index: lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h =================================================================== --- lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h +++ lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h @@ -45,8 +45,6 @@ // PluginInterface protocol lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: friend class InstructionLLVMC; Index: lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp =================================================================== --- lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp +++ lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp @@ -1425,5 +1425,3 @@ // PluginInterface protocol ConstString DisassemblerLLVMC::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t DisassemblerLLVMC::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h =================================================================== --- lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h +++ lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h @@ -20,7 +20,6 @@ static void Terminate(); ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; void OverrideStopInfo(Thread &thread) const override {} Index: lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp =================================================================== --- lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp +++ lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp @@ -44,7 +44,6 @@ } ConstString ArchitecturePPC64::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ArchitecturePPC64::GetPluginVersion() { return 1; } static int32_t GetLocalEntryOffset(const Symbol &sym) { unsigned char other = sym.GetFlags() >> 8 & 0xFF; Index: lldb/source/Plugins/Architecture/Mips/ArchitectureMips.h =================================================================== --- lldb/source/Plugins/Architecture/Mips/ArchitectureMips.h +++ lldb/source/Plugins/Architecture/Mips/ArchitectureMips.h @@ -21,7 +21,6 @@ static void Terminate(); ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; void OverrideStopInfo(Thread &thread) const override {} Index: lldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp =================================================================== --- lldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp +++ lldb/source/Plugins/Architecture/Mips/ArchitectureMips.cpp @@ -43,7 +43,6 @@ } ConstString ArchitectureMips::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ArchitectureMips::GetPluginVersion() { return 1; } addr_t ArchitectureMips::GetCallableLoadAddress(addr_t code_addr, AddressClass addr_class) const { Index: lldb/source/Plugins/Architecture/Arm/ArchitectureArm.h =================================================================== --- lldb/source/Plugins/Architecture/Arm/ArchitectureArm.h +++ lldb/source/Plugins/Architecture/Arm/ArchitectureArm.h @@ -20,7 +20,6 @@ static void Terminate(); ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; void OverrideStopInfo(Thread &thread) const override; Index: lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp =================================================================== --- lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp +++ lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp @@ -40,7 +40,6 @@ } ConstString ArchitectureArm::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ArchitectureArm::GetPluginVersion() { return 1; } void ArchitectureArm::OverrideStopInfo(Thread &thread) const { // We need to check if we are stopped in Thumb mode in a IT instruction and Index: lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h =================================================================== --- lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h +++ lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h @@ -21,7 +21,6 @@ static void Terminate(); ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; void OverrideStopInfo(Thread &thread) const override{}; Index: lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.cpp =================================================================== --- lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.cpp +++ lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.cpp @@ -42,4 +42,3 @@ ConstString ArchitectureAArch64::GetPluginName() { return GetPluginNameStatic(); } -uint32_t ArchitectureAArch64::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h =================================================================== --- lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h +++ lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h @@ -75,8 +75,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp =================================================================== --- lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp +++ lldb/source/Plugins/ABI/X86/ABIWindows_x86_64.cpp @@ -836,5 +836,3 @@ lldb_private::ConstString ABIWindows_x86_64::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABIWindows_x86_64::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/X86/ABISysV_x86_64.h =================================================================== --- lldb/source/Plugins/ABI/X86/ABISysV_x86_64.h +++ lldb/source/Plugins/ABI/X86/ABISysV_x86_64.h @@ -82,8 +82,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp =================================================================== --- lldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp +++ lldb/source/Plugins/ABI/X86/ABISysV_x86_64.cpp @@ -963,5 +963,3 @@ lldb_private::ConstString ABISysV_x86_64::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_x86_64::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/X86/ABISysV_i386.h =================================================================== --- lldb/source/Plugins/ABI/X86/ABISysV_i386.h +++ lldb/source/Plugins/ABI/X86/ABISysV_i386.h @@ -87,8 +87,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override { return 1; } - protected: lldb::ValueObjectSP GetReturnValueObjectSimple(lldb_private::Thread &thread, Index: lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h =================================================================== --- lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h +++ lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h @@ -79,8 +79,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread, Index: lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp =================================================================== --- lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp +++ lldb/source/Plugins/ABI/X86/ABIMacOSX_i386.cpp @@ -471,5 +471,3 @@ lldb_private::ConstString ABIMacOSX_i386::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABIMacOSX_i386::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h =================================================================== --- lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h +++ lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h @@ -76,8 +76,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp =================================================================== --- lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp +++ lldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp @@ -727,5 +727,3 @@ lldb_private::ConstString ABISysV_s390x::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_s390x::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h =================================================================== --- lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h +++ lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h @@ -84,8 +84,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp =================================================================== --- lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp +++ lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp @@ -1085,5 +1085,3 @@ lldb_private::ConstString ABISysV_ppc64::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_ppc64::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h =================================================================== --- lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h +++ lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h @@ -84,8 +84,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp =================================================================== --- lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp +++ lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.cpp @@ -974,5 +974,3 @@ lldb_private::ConstString ABISysV_ppc::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_ppc::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/Mips/ABISysV_mips64.h =================================================================== --- lldb/source/Plugins/ABI/Mips/ABISysV_mips64.h +++ lldb/source/Plugins/ABI/Mips/ABISysV_mips64.h @@ -88,8 +88,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp =================================================================== --- lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp +++ lldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp @@ -1211,5 +1211,3 @@ lldb_private::ConstString ABISysV_mips64::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_mips64::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/Mips/ABISysV_mips.h =================================================================== --- lldb/source/Plugins/ABI/Mips/ABISysV_mips.h +++ lldb/source/Plugins/ABI/Mips/ABISysV_mips.h @@ -75,8 +75,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp =================================================================== --- lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp +++ lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp @@ -1063,5 +1063,3 @@ lldb_private::ConstString ABISysV_mips::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_mips::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h =================================================================== --- lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h +++ lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h @@ -85,8 +85,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: void CreateRegisterMapIfNeeded(); Index: lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp =================================================================== --- lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp +++ lldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp @@ -1288,8 +1288,6 @@ return GetPluginNameStatic(); } -uint32_t ABISysV_hexagon::GetPluginVersion() { return 1; } - // get value object specialized to work with llvm IR types lldb::ValueObjectSP ABISysV_hexagon::GetReturnValueObjectImpl(lldb_private::Thread &thread, Index: lldb/source/Plugins/ABI/ARM/ABISysV_arm.h =================================================================== --- lldb/source/Plugins/ABI/ARM/ABISysV_arm.h +++ lldb/source/Plugins/ABI/ARM/ABISysV_arm.h @@ -77,8 +77,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread, Index: lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp =================================================================== --- lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp +++ lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp @@ -2142,5 +2142,3 @@ lldb_private::ConstString ABISysV_arm::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_arm::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h =================================================================== --- lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h +++ lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h @@ -77,8 +77,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: lldb::ValueObjectSP GetReturnValueObjectImpl(lldb_private::Thread &thread, Index: lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp =================================================================== --- lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp +++ lldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp @@ -2036,5 +2036,3 @@ lldb_private::ConstString ABIMacOSX_arm::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABIMacOSX_arm::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/ARC/ABISysV_arc.h =================================================================== --- lldb/source/Plugins/ABI/ARC/ABISysV_arc.h +++ lldb/source/Plugins/ABI/ARC/ABISysV_arc.h @@ -88,8 +88,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - private: lldb::ValueObjectSP GetReturnValueObjectSimple(lldb_private::Thread &thread, Index: lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp =================================================================== --- lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp +++ lldb/source/Plugins/ABI/ARC/ABISysV_arc.cpp @@ -613,5 +613,3 @@ ConstString ABISysV_arc::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_arc::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h =================================================================== --- lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h +++ lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h @@ -83,8 +83,6 @@ lldb_private::ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - lldb::addr_t FixCodeAddress(lldb::addr_t pc) override; lldb::addr_t FixDataAddress(lldb::addr_t pc) override; Index: lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp =================================================================== --- lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp +++ lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp @@ -854,5 +854,3 @@ // PluginInterface protocol ConstString ABISysV_arm64::GetPluginName() { return GetPluginNameStatic(); } - -uint32_t ABISysV_arm64::GetPluginVersion() { return 1; } Index: lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h =================================================================== --- lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h +++ lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h @@ -80,8 +80,6 @@ return GetPluginNameStatic(); } - uint32_t GetPluginVersion() override; - lldb_private::Status SetReturnValueObject(lldb::StackFrameSP &frame_sp, lldb::ValueObjectSP &new_value) override; Index: lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp =================================================================== --- lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp +++ lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp @@ -835,5 +835,3 @@ static ConstString g_plugin_name("ABIMacOSX_arm64"); return g_plugin_name; } - -uint32_t ABIMacOSX_arm64::GetPluginVersion() { return 1; } Index: lldb/include/lldb/Target/ProcessTrace.h =================================================================== --- lldb/include/lldb/Target/ProcessTrace.h +++ lldb/include/lldb/Target/ProcessTrace.h @@ -42,8 +42,6 @@ ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - Status DoDestroy() override; void RefreshStateAfterStop() override; Index: lldb/include/lldb/Symbol/SymbolVendor.h =================================================================== --- lldb/include/lldb/Symbol/SymbolVendor.h +++ lldb/include/lldb/Symbol/SymbolVendor.h @@ -43,8 +43,6 @@ // PluginInterface protocol ConstString GetPluginName() override; - uint32_t GetPluginVersion() override; - protected: std::unique_ptr<SymbolFile> m_sym_file_up; // A single symbol file. Subclasses // can add more of these if needed. Index: lldb/include/lldb/Core/PluginInterface.h =================================================================== --- lldb/include/lldb/Core/PluginInterface.h +++ lldb/include/lldb/Core/PluginInterface.h @@ -20,8 +20,6 @@ virtual ConstString GetPluginName() = 0; - virtual uint32_t GetPluginVersion() = 0; - PluginInterface(const PluginInterface &) = delete; PluginInterface &operator=(const PluginInterface &) = delete; };
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits