LLDB mainline
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ABISysV_mips64 Class Reference

#include <ABISysV_mips64.h>

Inheritance diagram for ABISysV_mips64:
Inheritance graph
[legend]

Public Member Functions

 ~ABISysV_mips64 () override=default
 
size_t GetRedZoneSize () const override
 
bool PrepareTrivialCall (lldb_private::Thread &thread, lldb::addr_t sp, lldb::addr_t functionAddress, lldb::addr_t returnAddress, llvm::ArrayRef< lldb::addr_t > args) const override
 
bool GetArgumentValues (lldb_private::Thread &thread, lldb_private::ValueList &values) const override
 
lldb_private::Status SetReturnValueObject (lldb::StackFrameSP &frame_sp, lldb::ValueObjectSP &new_value) override
 
lldb::ValueObjectSP GetReturnValueObjectImpl (lldb_private::Thread &thread, lldb_private::CompilerType &type) const override
 
bool CreateFunctionEntryUnwindPlan (lldb_private::UnwindPlan &unwind_plan) override
 
bool CreateDefaultUnwindPlan (lldb_private::UnwindPlan &unwind_plan) override
 
bool RegisterIsVolatile (const lldb_private::RegisterInfo *reg_info) override
 
bool IsSoftFloat (uint32_t fp_flag) const
 
bool CallFrameAddressIsValid (lldb::addr_t cfa) override
 
bool CodeAddressIsValid (lldb::addr_t pc) override
 
const lldb_private::RegisterInfoGetRegisterInfoArray (uint32_t &count) override
 
llvm::StringRef GetPluginName () override
 
- Public Member Functions inherited from lldb_private::RegInfoBasedABI
void AugmentRegisterInfo (std::vector< DynamicRegisterInfo::Register > &regs) override
 
- Public Member Functions inherited from lldb_private::ABI
 ~ABI () override
 
virtual size_t GetRedZoneSize () const =0
 
virtual bool PrepareTrivialCall (lldb_private::Thread &thread, lldb::addr_t sp, lldb::addr_t functionAddress, lldb::addr_t returnAddress, llvm::ArrayRef< lldb::addr_t > args) const =0
 
virtual bool PrepareTrivialCall (lldb_private::Thread &thread, lldb::addr_t sp, lldb::addr_t functionAddress, lldb::addr_t returnAddress, llvm::Type &prototype, llvm::ArrayRef< CallArgument > args) const
 
virtual bool GetArgumentValues (Thread &thread, ValueList &values) const =0
 
lldb::ValueObjectSP GetReturnValueObject (Thread &thread, CompilerType &type, bool persistent=true) const
 
lldb::ValueObjectSP GetReturnValueObject (Thread &thread, llvm::Type &type, bool persistent=true) const
 
virtual Status SetReturnValueObject (lldb::StackFrameSP &frame_sp, lldb::ValueObjectSP &new_value)=0
 
virtual bool CreateFunctionEntryUnwindPlan (UnwindPlan &unwind_plan)=0
 
virtual bool CreateDefaultUnwindPlan (UnwindPlan &unwind_plan)=0
 
virtual bool RegisterIsVolatile (const RegisterInfo *reg_info)=0
 
virtual bool GetFallbackRegisterLocation (const RegisterInfo *reg_info, UnwindPlan::Row::AbstractRegisterLocation &unwind_regloc)
 
virtual bool CallFrameAddressIsValid (lldb::addr_t cfa)=0
 
virtual bool CodeAddressIsValid (lldb::addr_t pc)=0
 
virtual lldb::addr_t FixAnyAddress (lldb::addr_t pc)
 Use this method when you do not know, or do not care what kind of address you are fixing.
 
llvm::MCRegisterInfo & GetMCRegisterInfo ()
 
virtual void AugmentRegisterInfo (std::vector< DynamicRegisterInfo::Register > &regs)=0
 
virtual bool GetPointerReturnRegister (const char *&name)
 
virtual uint64_t GetStackFrameSize ()
 
virtual lldb::addr_t FixCodeAddress (lldb::addr_t pc)
 Some targets might use bits in a code address to indicate a mode switch.
 
virtual lldb::addr_t FixDataAddress (lldb::addr_t pc)
 
- Public Member Functions inherited from lldb_private::PluginInterface
 PluginInterface ()=default
 
virtual ~PluginInterface ()=default
 
virtual llvm::StringRef GetPluginName ()=0
 
 PluginInterface (const PluginInterface &)=delete
 
PluginInterfaceoperator= (const PluginInterface &)=delete
 

Static Public Member Functions

static void Initialize ()
 
static void Terminate ()
 
static lldb::ABISP CreateInstance (lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch)
 
static llvm::StringRef GetPluginNameStatic ()
 
- Static Public Member Functions inherited from lldb_private::ABI
static lldb::ABISP FindPlugin (lldb::ProcessSP process_sp, const ArchSpec &arch)
 

Protected Member Functions

void CreateRegisterMapIfNeeded ()
 
lldb::ValueObjectSP GetReturnValueObjectSimple (lldb_private::Thread &thread, lldb_private::CompilerType &ast_type) const
 
bool RegisterIsCalleeSaved (const lldb_private::RegisterInfo *reg_info)
 
- Protected Member Functions inherited from lldb_private::RegInfoBasedABI
bool GetRegisterInfoByName (llvm::StringRef name, RegisterInfo &info)
 
virtual const RegisterInfoGetRegisterInfoArray (uint32_t &count)=0
 
 ABI (lldb::ProcessSP process_sp, std::unique_ptr< llvm::MCRegisterInfo > info_up)
 
- Protected Member Functions inherited from lldb_private::ABI
virtual lldb::ValueObjectSP GetReturnValueObjectImpl (Thread &thread, CompilerType &ast_type) const =0
 
virtual lldb::ValueObjectSP GetReturnValueObjectImpl (Thread &thread, llvm::Type &ir_type) const
 
lldb::ProcessSP GetProcessSP () const
 Request to get a Process shared pointer.
 
 ABI (lldb::ProcessSP process_sp, std::unique_ptr< llvm::MCRegisterInfo > info_up)
 

Additional Inherited Members

- Static Protected Member Functions inherited from lldb_private::ABI
static std::unique_ptr< llvm::MCRegisterInfo > MakeMCRegisterInfo (const ArchSpec &arch)
 Utility function to construct a MCRegisterInfo using the ArchSpec triple.
 
- Protected Attributes inherited from lldb_private::ABI
lldb::ProcessWP m_process_wp
 
std::unique_ptr< llvm::MCRegisterInfo > m_mc_register_info_up
 

Detailed Description

Definition at line 15 of file ABISysV_mips64.h.

Constructor & Destructor Documentation

◆ ~ABISysV_mips64()

ABISysV_mips64::~ABISysV_mips64 ( )
overridedefault

Member Function Documentation

◆ CallFrameAddressIsValid()

bool ABISysV_mips64::CallFrameAddressIsValid ( lldb::addr_t  cfa)
inlineoverridevirtual

Implements lldb_private::ABI.

Definition at line 57 of file ABISysV_mips64.h.

◆ CodeAddressIsValid()

bool ABISysV_mips64::CodeAddressIsValid ( lldb::addr_t  pc)
inlineoverridevirtual

Implements lldb_private::ABI.

Definition at line 66 of file ABISysV_mips64.h.

References pc.

◆ CreateDefaultUnwindPlan()

bool ABISysV_mips64::CreateDefaultUnwindPlan ( lldb_private::UnwindPlan unwind_plan)
overridevirtual

◆ CreateFunctionEntryUnwindPlan()

bool ABISysV_mips64::CreateFunctionEntryUnwindPlan ( lldb_private::UnwindPlan unwind_plan)
overridevirtual

◆ CreateInstance()

ABISP ABISysV_mips64::CreateInstance ( lldb::ProcessSP  process_sp,
const lldb_private::ArchSpec arch 
)
static

◆ CreateRegisterMapIfNeeded()

void ABISysV_mips64::CreateRegisterMapIfNeeded ( )
protected

◆ GetArgumentValues()

bool ABISysV_mips64::GetArgumentValues ( lldb_private::Thread thread,
lldb_private::ValueList values 
) const
overridevirtual

Implements lldb_private::ABI.

Definition at line 651 of file ABISysV_mips64.cpp.

◆ GetPluginName()

llvm::StringRef ABISysV_mips64::GetPluginName ( )
inlineoverridevirtual

Implements lldb_private::PluginInterface.

Definition at line 89 of file ABISysV_mips64.h.

References GetPluginNameStatic().

◆ GetPluginNameStatic()

static llvm::StringRef ABISysV_mips64::GetPluginNameStatic ( )
inlinestatic

Definition at line 85 of file ABISysV_mips64.h.

Referenced by GetPluginName(), and Initialize().

◆ GetRedZoneSize()

size_t ABISysV_mips64::GetRedZoneSize ( ) const
overridevirtual

Implements lldb_private::ABI.

Definition at line 548 of file ABISysV_mips64.cpp.

◆ GetRegisterInfoArray()

const lldb_private::RegisterInfo * ABISysV_mips64::GetRegisterInfoArray ( uint32_t &  count)
overridevirtual

Implements lldb_private::RegInfoBasedABI.

Definition at line 543 of file ABISysV_mips64.cpp.

References g_register_infos_mips64, and k_num_register_infos.

◆ GetReturnValueObjectImpl()

ValueObjectSP ABISysV_mips64::GetReturnValueObjectImpl ( lldb_private::Thread thread,
lldb_private::CompilerType type 
) const
overridevirtual

Implements lldb_private::ABI.

Definition at line 734 of file ABISysV_mips64.cpp.

References lldb_private::RegisterInfo::byte_size, lldb_private::DataExtractor::CopyByteOrderedData(), lldb_private::ValueObjectConstResult::Create(), lldb_private::ValueObjectMemory::Create(), lldb::eByteOrderLittle, lldb_private::ArchSpec::eMIPS_ABI_FP_mask, error(), lldb_private::ArchSpec::GetAddressByteSize(), lldb_private::Target::GetArchitecture(), lldb_private::RegisterValue::GetAsMemoryData(), lldb_private::ArchSpec::GetByteOrder(), lldb_private::DataExtractor::GetByteSize(), lldb_private::CompilerType::GetByteSize(), lldb_private::RegisterValue::GetData(), lldb_private::DataExtractor::GetDouble(), lldb_private::CompilerType::GetFieldAtIndex(), lldb_private::ArchSpec::GetFlags(), lldb_private::DataExtractor::GetFloat(), lldb_private::CompilerType::GetNumFields(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::Thread::GetRegisterContext(), lldb_private::RegisterContext::GetRegisterInfoByName(), lldb_private::Value::GetScalar(), lldb_private::Thread::GetStackFrameAtIndex(), lldb_private::ExecutionContext::GetTargetPtr(), lldb_private::CompilerType::GetTypeInfo(), lldb_private::DataExtractor::GetU64(), lldb_private::CompilerType::IsFloatingPointType(), lldb_private::CompilerType::IsIntegerOrEnumerationType(), lldb_private::CompilerType::IsPointerType(), IsSoftFloat(), lldb_private::RegisterContext::ReadRegister(), lldb_private::RegisterContext::ReadRegisterAsUnsigned(), lldb_private::Value::SetCompilerType(), lldb_private::DataExtractor::SetData(), lldb_private::Value::SetValueType(), and UINT32_MAX.

◆ GetReturnValueObjectSimple()

ValueObjectSP ABISysV_mips64::GetReturnValueObjectSimple ( lldb_private::Thread thread,
lldb_private::CompilerType ast_type 
) const
protected

Definition at line 728 of file ABISysV_mips64.cpp.

◆ Initialize()

void ABISysV_mips64::Initialize ( )
static

◆ IsSoftFloat()

bool ABISysV_mips64::IsSoftFloat ( uint32_t  fp_flag) const

Definition at line 1174 of file ABISysV_mips64.cpp.

References lldb_private::ArchSpec::eMIPS_ABI_FP_SOFT.

Referenced by GetReturnValueObjectImpl().

◆ PrepareTrivialCall()

bool ABISysV_mips64::PrepareTrivialCall ( lldb_private::Thread thread,
lldb::addr_t  sp,
lldb::addr_t  functionAddress,
lldb::addr_t  returnAddress,
llvm::ArrayRef< lldb::addr_t args 
) const
overridevirtual

◆ RegisterIsCalleeSaved()

bool ABISysV_mips64::RegisterIsCalleeSaved ( const lldb_private::RegisterInfo reg_info)
protected

Definition at line 1178 of file ABISysV_mips64.cpp.

References lldb_private::RegisterInfo::byte_offset.

Referenced by RegisterIsVolatile().

◆ RegisterIsVolatile()

bool ABISysV_mips64::RegisterIsVolatile ( const lldb_private::RegisterInfo reg_info)
overridevirtual

Implements lldb_private::ABI.

Definition at line 1170 of file ABISysV_mips64.cpp.

References RegisterIsCalleeSaved().

◆ SetReturnValueObject()

Status ABISysV_mips64::SetReturnValueObject ( lldb::StackFrameSP frame_sp,
lldb::ValueObjectSP new_value 
)
overridevirtual

◆ Terminate()

void ABISysV_mips64::Terminate ( )
static

The documentation for this class was generated from the following files: