[lldb] Remove PluginInterface::GetPluginVersion

In all these years, we haven't found a use for this function (it has
zero callers). Lets just remove the boilerplate.

Differential Revision: https://reviews.llvm.org/D109600
This commit is contained in:
Pavel Labath 2021-09-10 14:38:27 +02:00
parent 7e337d8ba2
commit b03126768a
174 changed files with 1 additions and 330 deletions

View File

@ -20,8 +20,6 @@ public:
virtual ConstString GetPluginName() = 0;
virtual uint32_t GetPluginVersion() = 0;
PluginInterface(const PluginInterface &) = delete;
PluginInterface &operator=(const PluginInterface &) = delete;
};

View File

@ -43,8 +43,6 @@ public:
// 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.

View File

@ -42,8 +42,6 @@ public:
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
Status DoDestroy() override;
void RefreshStateAfterStop() override;

View File

@ -835,5 +835,3 @@ ConstString ABIMacOSX_arm64::GetPluginNameStatic() {
static ConstString g_plugin_name("ABIMacOSX_arm64");
return g_plugin_name;
}
uint32_t ABIMacOSX_arm64::GetPluginVersion() { return 1; }

View File

@ -80,8 +80,6 @@ public:
return GetPluginNameStatic();
}
uint32_t GetPluginVersion() override;
lldb_private::Status
SetReturnValueObject(lldb::StackFrameSP &frame_sp,
lldb::ValueObjectSP &new_value) override;

View File

@ -854,5 +854,3 @@ lldb_private::ConstString ABISysV_arm64::GetPluginNameStatic() {
// PluginInterface protocol
ConstString ABISysV_arm64::GetPluginName() { return GetPluginNameStatic(); }
uint32_t ABISysV_arm64::GetPluginVersion() { return 1; }

View File

@ -83,8 +83,6 @@ public:
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;

View File

@ -613,5 +613,3 @@ ConstString ABISysV_arc::GetPluginNameStatic() {
ConstString ABISysV_arc::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_arc::GetPluginVersion() { return 1; }

View File

@ -88,8 +88,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
private:
lldb::ValueObjectSP
GetReturnValueObjectSimple(lldb_private::Thread &thread,

View File

@ -2036,5 +2036,3 @@ lldb_private::ConstString ABIMacOSX_arm::GetPluginNameStatic() {
lldb_private::ConstString ABIMacOSX_arm::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABIMacOSX_arm::GetPluginVersion() { return 1; }

View File

@ -77,8 +77,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
lldb::ValueObjectSP
GetReturnValueObjectImpl(lldb_private::Thread &thread,

View File

@ -2142,5 +2142,3 @@ lldb_private::ConstString ABISysV_arm::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_arm::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_arm::GetPluginVersion() { return 1; }

View File

@ -77,8 +77,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
lldb::ValueObjectSP
GetReturnValueObjectImpl(lldb_private::Thread &thread,

View File

@ -1288,8 +1288,6 @@ lldb_private::ConstString ABISysV_hexagon::GetPluginName() {
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,

View File

@ -85,8 +85,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -1063,5 +1063,3 @@ lldb_private::ConstString ABISysV_mips::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_mips::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_mips::GetPluginVersion() { return 1; }

View File

@ -75,8 +75,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -1211,5 +1211,3 @@ lldb_private::ConstString ABISysV_mips64::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_mips64::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_mips64::GetPluginVersion() { return 1; }

View File

@ -88,8 +88,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -974,5 +974,3 @@ lldb_private::ConstString ABISysV_ppc::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_ppc::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_ppc::GetPluginVersion() { return 1; }

View File

@ -84,8 +84,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -1085,5 +1085,3 @@ lldb_private::ConstString ABISysV_ppc64::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_ppc64::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_ppc64::GetPluginVersion() { return 1; }

View File

@ -84,8 +84,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -727,5 +727,3 @@ lldb_private::ConstString ABISysV_s390x::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_s390x::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_s390x::GetPluginVersion() { return 1; }

View File

@ -76,8 +76,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -471,5 +471,3 @@ lldb_private::ConstString ABIMacOSX_i386::GetPluginNameStatic() {
lldb_private::ConstString ABIMacOSX_i386::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABIMacOSX_i386::GetPluginVersion() { return 1; }

View File

@ -79,8 +79,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
lldb::ValueObjectSP
GetReturnValueObjectImpl(lldb_private::Thread &thread,

View File

@ -87,8 +87,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override { return 1; }
protected:
lldb::ValueObjectSP
GetReturnValueObjectSimple(lldb_private::Thread &thread,

View File

@ -963,5 +963,3 @@ lldb_private::ConstString ABISysV_x86_64::GetPluginNameStatic() {
lldb_private::ConstString ABISysV_x86_64::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABISysV_x86_64::GetPluginVersion() { return 1; }

View File

@ -82,8 +82,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -836,5 +836,3 @@ lldb_private::ConstString ABIWindows_x86_64::GetPluginNameStatic() {
lldb_private::ConstString ABIWindows_x86_64::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ABIWindows_x86_64::GetPluginVersion() { return 1; }

View File

@ -75,8 +75,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void CreateRegisterMapIfNeeded();

View File

@ -42,4 +42,3 @@ ArchitectureAArch64::Create(const ArchSpec &arch) {
ConstString ArchitectureAArch64::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ArchitectureAArch64::GetPluginVersion() { return 1; }

View File

@ -21,7 +21,6 @@ public:
static void Terminate();
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
void OverrideStopInfo(Thread &thread) const override{};

View File

@ -40,7 +40,6 @@ std::unique_ptr<Architecture> ArchitectureArm::Create(const ArchSpec &arch) {
}
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

View File

@ -20,7 +20,6 @@ public:
static void Terminate();
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
void OverrideStopInfo(Thread &thread) const override;

View File

@ -43,7 +43,6 @@ std::unique_ptr<Architecture> ArchitectureMips::Create(const ArchSpec &arch) {
}
ConstString ArchitectureMips::GetPluginName() { return GetPluginNameStatic(); }
uint32_t ArchitectureMips::GetPluginVersion() { return 1; }
addr_t ArchitectureMips::GetCallableLoadAddress(addr_t code_addr,
AddressClass addr_class) const {

View File

@ -21,7 +21,6 @@ public:
static void Terminate();
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
void OverrideStopInfo(Thread &thread) const override {}

View File

@ -44,7 +44,6 @@ std::unique_ptr<Architecture> ArchitecturePPC64::Create(const ArchSpec &arch) {
}
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;

View File

@ -20,7 +20,6 @@ public:
static void Terminate();
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
void OverrideStopInfo(Thread &thread) const override {}

View File

@ -1425,5 +1425,3 @@ const char *DisassemblerLLVMC::SymbolLookup(uint64_t value, uint64_t *type_ptr,
// PluginInterface protocol
ConstString DisassemblerLLVMC::GetPluginName() { return GetPluginNameStatic(); }
uint32_t DisassemblerLLVMC::GetPluginVersion() { return 1; }

View File

@ -45,8 +45,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
friend class InstructionLLVMC;

View File

@ -1569,8 +1569,6 @@ lldb_private::ConstString DynamicLoaderDarwinKernel::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t DynamicLoaderDarwinKernel::GetPluginVersion() { return 1; }
lldb::ByteOrder
DynamicLoaderDarwinKernel::GetByteOrderFromMagic(uint32_t magic) {
switch (magic) {

View File

@ -60,8 +60,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void PrivateInitialize(lldb_private::Process *process);

View File

@ -92,8 +92,6 @@ const char *DynamicLoaderHexagonDYLD::GetPluginDescriptionStatic() {
"loads/unloads in Hexagon processes.";
}
uint32_t DynamicLoaderHexagonDYLD::GetPluginVersion() { return 1; }
DynamicLoader *DynamicLoaderHexagonDYLD::CreateInstance(Process *process,
bool force) {
bool create = force;

View File

@ -49,8 +49,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
/// Runtime linker rendezvous structure.
HexagonDYLDRendezvous m_rendezvous;

View File

@ -518,5 +518,3 @@ const char *DynamicLoaderMacOS::GetPluginDescriptionStatic() {
lldb_private::ConstString DynamicLoaderMacOS::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t DynamicLoaderMacOS::GetPluginVersion() { return 1; }

View File

@ -62,8 +62,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
void PutToLog(lldb_private::Log *log) const;

View File

@ -1151,8 +1151,6 @@ lldb_private::ConstString DynamicLoaderMacOSXDYLD::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t DynamicLoaderMacOSXDYLD::GetPluginVersion() { return 1; }
uint32_t DynamicLoaderMacOSXDYLD::AddrByteSize() {
std::lock_guard<std::recursive_mutex> baseclass_guard(GetMutex());

View File

@ -66,8 +66,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
bool IsFullyInitialized() override;
protected:

View File

@ -52,8 +52,6 @@ const char *DynamicLoaderPOSIXDYLD::GetPluginDescriptionStatic() {
"loads/unloads in POSIX processes.";
}
uint32_t DynamicLoaderPOSIXDYLD::GetPluginVersion() { return 1; }
DynamicLoader *DynamicLoaderPOSIXDYLD::CreateInstance(Process *process,
bool force) {
bool create = force;

View File

@ -55,8 +55,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
/// Runtime linker rendezvous structure.
DYLDRendezvous m_rendezvous;

View File

@ -166,5 +166,3 @@ const char *DynamicLoaderStatic::GetPluginDescriptionStatic() {
lldb_private::ConstString DynamicLoaderStatic::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t DynamicLoaderStatic::GetPluginVersion() { return 1; }

View File

@ -46,8 +46,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
private:
void LoadAllImagesAtFileAddresses();
};

View File

@ -178,8 +178,6 @@ ConstString DynamicLoaderWindowsDYLD::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t DynamicLoaderWindowsDYLD::GetPluginVersion() { return 1; }
ThreadPlanSP
DynamicLoaderWindowsDYLD::GetStepThroughTrampolinePlan(Thread &thread,
bool stop) {

View File

@ -40,7 +40,6 @@ public:
bool stop) override;
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
lldb::addr_t GetLoadAddress(lldb::ModuleSP executable);

View File

@ -38,7 +38,6 @@ public:
/// PluginInterface protocol.
/// \{
ConstString GetPluginName() override { return GetPluginNameStatic(); }
uint32_t GetPluginVersion() override { return 1; }
/// \}
};

View File

@ -87,8 +87,6 @@ public:
return GetPluginNameStatic();
}
uint32_t GetPluginVersion() override { return 1; }
bool SetTargetTriple(const ArchSpec &arch) override;
enum Mode { eModeInvalid = -1, eModeARM, eModeThumb };

View File

@ -48,8 +48,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override { return 1; }
bool SetTargetTriple(const lldb_private::ArchSpec &arch) override;
bool SupportsEmulatingInstructionsOfType(

View File

@ -57,8 +57,6 @@ public:
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);

View File

@ -55,8 +55,6 @@ public:
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override { return 1; }
bool SetTargetTriple(const lldb_private::ArchSpec &arch) override;
bool SupportsEmulatingInstructionsOfType(

View File

@ -46,8 +46,6 @@ public:
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override { return 1; }
bool SetTargetTriple(const ArchSpec &arch) override;
bool SupportsEmulatingInstructionsOfType(InstructionType inst_type) override {

View File

@ -37,8 +37,6 @@ public:
virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); }
uint32_t GetPluginVersion() override { return 1; }
private:
InstrumentationRuntimeASan(const lldb::ProcessSP &process_sp)
: lldb_private::InstrumentationRuntime(process_sp) {}

View File

@ -38,8 +38,6 @@ public:
virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); }
uint32_t GetPluginVersion() override { return 1; }
lldb::ThreadCollectionSP
GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;

View File

@ -37,8 +37,6 @@ public:
virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); }
uint32_t GetPluginVersion() override { return 1; }
lldb::ThreadCollectionSP
GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;

View File

@ -38,8 +38,6 @@ public:
virtual lldb::InstrumentationRuntimeType GetType() { return GetTypeStatic(); }
uint32_t GetPluginVersion() override { return 1; }
lldb::ThreadCollectionSP
GetBacktracesFromExtendedStopInfo(StructuredData::ObjectSP info) override;

View File

@ -438,8 +438,6 @@ lldb_private::ConstString JITLoaderGDB::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t JITLoaderGDB::GetPluginVersion() { return 1; }
void JITLoaderGDB::Initialize() {
PluginManager::RegisterPlugin(GetPluginNameStatic(),
GetPluginDescriptionStatic(), CreateInstance,

View File

@ -37,8 +37,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
// JITLoader interface
void DidAttach() override;

View File

@ -99,8 +99,6 @@ lldb_private::ConstString CPlusPlusLanguage::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t CPlusPlusLanguage::GetPluginVersion() { return 1; }
// Static Functions
Language *CPlusPlusLanguage::CreateInstance(lldb::LanguageType language) {

View File

@ -135,8 +135,6 @@ public:
// PluginInterface protocol
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
};
} // namespace lldb_private

View File

@ -59,8 +59,6 @@ lldb_private::ConstString ObjCLanguage::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ObjCLanguage::GetPluginVersion() { return 1; }
// Static Functions
Language *ObjCLanguage::CreateInstance(lldb::LanguageType language) {

View File

@ -157,8 +157,6 @@ public:
// PluginInterface protocol
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
};
} // namespace lldb_private

View File

@ -44,8 +44,6 @@ lldb_private::ConstString ObjCPlusPlusLanguage::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ObjCPlusPlusLanguage::GetPluginVersion() { return 1; }
// Static Functions
Language *ObjCPlusPlusLanguage::CreateInstance(lldb::LanguageType language) {
switch (language) {

View File

@ -44,8 +44,6 @@ public:
// PluginInterface protocol
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
};
} // namespace lldb_private

View File

@ -415,8 +415,6 @@ lldb_private::ConstString ItaniumABILanguageRuntime::GetPluginName() {
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);

View File

@ -78,8 +78,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
lldb::BreakpointResolverSP
CreateExceptionResolver(const lldb::BreakpointSP &bkpt,

View File

@ -102,8 +102,6 @@ ConstString AppleObjCRuntimeV1::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t AppleObjCRuntimeV1::GetPluginVersion() { return 1; }
BreakpointResolverSP
AppleObjCRuntimeV1::CreateExceptionResolver(const BreakpointSP &bkpt,
bool catch_bp, bool throw_bp) {

View File

@ -109,8 +109,6 @@ public:
// PluginInterface protocol
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
ObjCRuntimeVersions GetRuntimeVersion() const override {
return ObjCRuntimeVersions::eAppleObjC_V1;
}

View File

@ -1070,8 +1070,6 @@ lldb_private::ConstString AppleObjCRuntimeV2::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t AppleObjCRuntimeV2::GetPluginVersion() { return 1; }
BreakpointResolverSP
AppleObjCRuntimeV2::CreateExceptionResolver(const BreakpointSP &bkpt,
bool catch_bp, bool throw_bp) {

View File

@ -56,8 +56,6 @@ public:
ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
ObjCRuntimeVersions GetRuntimeVersion() const override {
return ObjCRuntimeVersions::eAppleObjC_V2;
}

View File

@ -1019,8 +1019,6 @@ lldb_private::ConstString RenderScriptRuntime::GetPluginName() {
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,

View File

@ -412,8 +412,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
static bool GetKernelCoordinate(lldb_renderscript::RSCoordinate &coord,
Thread *thread_ptr);

View File

@ -33,8 +33,6 @@ public:
return GetPluginNameStatic();
}
uint32_t GetPluginVersion() override { return 1; }
lldb_private::HistoryThreads GetHistoryThreads(lldb::addr_t address) override;
private:

View File

@ -438,8 +438,6 @@ lldb_private::ConstString ObjectContainerBSDArchive::GetPluginName() {
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,

View File

@ -70,8 +70,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
struct Object {
Object();

View File

@ -210,8 +210,6 @@ lldb_private::ConstString ObjectContainerUniversalMachO::GetPluginName() {
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,

View File

@ -61,8 +61,6 @@ public:
// 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;

View File

@ -46,8 +46,6 @@ public:
// 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 {

View File

@ -639,7 +639,6 @@ lldb_private::ConstString ObjectFileELF::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t ObjectFileELF::GetPluginVersion() { return m_plugin_version; }
// ObjectFile protocol
ObjectFileELF::ObjectFileELF(const lldb::ModuleSP &module_sp,

View File

@ -87,8 +87,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
// LLVM RTTI support
static char ID;
bool isA(const void *ClassID) const override {

View File

@ -204,8 +204,6 @@ lldb_private::ConstString ObjectFileJIT::GetPluginName() {
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;

View File

@ -98,8 +98,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
lldb::ObjectFileJITDelegateWP m_delegate_wp;
};

View File

@ -6173,8 +6173,6 @@ lldb_private::ConstString ObjectFileMachO::GetPluginName() {
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

View File

@ -148,8 +148,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
protected:
static lldb_private::UUID
GetUUID(const llvm::MachO::mach_header &header,

View File

@ -55,8 +55,6 @@ public:
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 @@ private:
ObjectFileMinidump() = default;
};
#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_MINIDUMP_OBJECTFILEMINIDUMP_H
#endif // LLDB_SOURCE_PLUGINS_OBJECTFILE_MINIDUMP_OBJECTFILEMINIDUMP_H

View File

@ -50,8 +50,6 @@ public:
// 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 {

View File

@ -1208,5 +1208,3 @@ ObjectFile::Strata ObjectFilePECOFF::CalculateStrata() { return eStrataUser; }
// PluginInterface protocol
ConstString ObjectFilePECOFF::GetPluginName() { return GetPluginNameStatic(); }
uint32_t ObjectFilePECOFF::GetPluginVersion() { return 1; }

View File

@ -132,8 +132,6 @@ public:
// PluginInterface protocol
lldb_private::ConstString GetPluginName() override;
uint32_t GetPluginVersion() override;
bool IsWindowsSubsystem();
uint32_t GetRVA(const lldb_private::Address &addr) const;

View File

@ -49,7 +49,6 @@ public:
/// PluginInterface protocol.
/// \{
ConstString GetPluginName() override { return GetPluginNameStatic(); }
uint32_t GetPluginVersion() override { return 1; }
/// \}
/// LLVM RTTI support

View File

@ -146,8 +146,6 @@ ConstString OperatingSystemPython::GetPluginName() {
return GetPluginNameStatic();
}
uint32_t OperatingSystemPython::GetPluginVersion() { return 1; }
bool OperatingSystemPython::UpdateThreadList(ThreadList &old_thread_list,
ThreadList &core_thread_list,
ThreadList &new_thread_list) {

Some files were not shown because too many files have changed in this diff Show More