LLDB  mainline
Public Member Functions | Protected Member Functions | List of all members
lldb_private::RegInfoBasedABI Class Referenceabstract

#include <ABI.h>

Inheritance diagram for lldb_private::RegInfoBasedABI:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::RegInfoBasedABI:
Collaboration graph
[legend]

Public Member Functions

void AugmentRegisterInfo (RegisterInfo &info) 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::RegisterLocation &unwind_regloc)
 
virtual bool CallFrameAddressIsValid (lldb::addr_t cfa)=0
 
virtual bool CodeAddressIsValid (lldb::addr_t pc)=0
 
llvm::MCRegisterInfo & GetMCRegisterInfo ()
 
virtual bool GetPointerReturnRegister (const char *&name)
 
virtual lldb::addr_t FixCodeAddress (lldb::addr_t pc)
 Some targets might use bits in a code address to indicate a mode switch. More...
 
virtual lldb::addr_t FixDataAddress (lldb::addr_t pc)
 
- Public Member Functions inherited from lldb_private::PluginInterface
 PluginInterface ()=default
 
virtual ~PluginInterface ()=default
 
virtual ConstString GetPluginName ()=0
 
virtual uint32_t GetPluginVersion ()=0
 
 PluginInterface (const PluginInterface &)=delete
 
PluginInterfaceoperator= (const PluginInterface &)=delete
 

Protected Member Functions

bool GetRegisterInfoByName (llvm::StringRef name, RegisterInfo &info)
 
virtual const RegisterInfo * GetRegisterInfoArray (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. More...
 
 ABI (lldb::ProcessSP process_sp, std::unique_ptr< llvm::MCRegisterInfo > info_up)
 
virtual lldb::addr_t FixCodeAddress (lldb::addr_t pc, lldb::addr_t mask)
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::ABI
static lldb::ABISP FindPlugin (lldb::ProcessSP process_sp, const ArchSpec &arch)
 
- 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. More...
 
- 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 160 of file ABI.h.

Member Function Documentation

◆ ABI()

lldb_private::ABI::ABI
inlineprotected

Definition at line 137 of file ABI.h.

◆ AugmentRegisterInfo()

void RegInfoBasedABI::AugmentRegisterInfo ( RegisterInfo &  info)
overridevirtual

◆ GetRegisterInfoArray()

virtual const RegisterInfo* lldb_private::RegInfoBasedABI::GetRegisterInfoArray ( uint32_t count)
protectedpure virtual

◆ GetRegisterInfoByName()

bool RegInfoBasedABI::GetRegisterInfoByName ( llvm::StringRef  name,
RegisterInfo &  info 
)
protected

Definition at line 45 of file ABI.cpp.


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