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

#include <ABIMacOSX_arm64.h>

Inheritance diagram for ABIMacOSX_arm64:
Inheritance graph
Collaboration diagram for ABIMacOSX_arm64:
Collaboration graph

Public Member Functions

 ~ABIMacOSX_arm64 () 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
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 CallFrameAddressIsValid (lldb::addr_t cfa) override
bool CodeAddressIsValid (lldb::addr_t pc) override
lldb::addr_t FixAddress (lldb::addr_t pc, lldb::addr_t mask) override
llvm::StringRef GetPluginName () override
lldb_private::Status SetReturnValueObject (lldb::StackFrameSP &frame_sp, lldb::ValueObjectSP &new_value) override
- Public Member Functions inherited from ABIAArch64
lldb::addr_t FixCodeAddress (lldb::addr_t pc) override
 Some targets might use bits in a code address to indicate a mode switch. More...
lldb::addr_t FixDataAddress (lldb::addr_t pc) override
- Public Member Functions inherited from lldb_private::ABI
 ~ABI () override
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
lldb::ValueObjectSP GetReturnValueObject (Thread &thread, CompilerType &type, bool persistent=true) const
lldb::ValueObjectSP GetReturnValueObject (Thread &thread, llvm::Type &type, bool persistent=true) const
virtual bool RegisterIsVolatile (const RegisterInfo *reg_info)=0
virtual bool GetFallbackRegisterLocation (const RegisterInfo *reg_info, UnwindPlan::Row::RegisterLocation &unwind_regloc)
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. More...
llvm::MCRegisterInfo & GetMCRegisterInfo ()
virtual bool GetPointerReturnRegister (const char *&name)
- Public Member Functions inherited from lldb_private::PluginInterface
 PluginInterface ()=default
virtual ~PluginInterface ()=default
 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 ABIAArch64
static void Initialize ()
static void Terminate ()
- Static Public Member Functions inherited from lldb_private::MCBasedABI
static void MapRegisterName (std::string &reg, llvm::StringRef from_prefix, llvm::StringRef to_prefix)
 If the register name is of the form "<from_prefix>[<number>]" then change the name to "<to_prefix>[<number>]". More...
- Static Public Member Functions inherited from lldb_private::ABI
static lldb::ABISP FindPlugin (lldb::ProcessSP process_sp, const ArchSpec &arch)

Protected Member Functions

lldb::ValueObjectSP GetReturnValueObjectImpl (lldb_private::Thread &thread, lldb_private::CompilerType &ast_type) const override
- Protected Member Functions inherited from ABIAArch64
std::pair< uint32_t, uint32_tGetEHAndDWARFNums (llvm::StringRef name) override
 Return eh_frame and dwarf numbers for the given register. More...
std::string GetMCName (std::string reg) override
 For the given (capitalized) lldb register name, return the name of this register in the MCRegisterInfo struct. More...
uint32_t GetGenericNum (llvm::StringRef name) override
 Return the generic number of the given register. More...
void AugmentRegisterInfo (std::vector< lldb_private::DynamicRegisterInfo::Register > &regs) override
- Protected Member Functions inherited from lldb_private::MCBasedABI
 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, 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 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 16 of file ABIMacOSX_arm64.h.

Constructor & Destructor Documentation

◆ ~ABIMacOSX_arm64()

ABIMacOSX_arm64::~ABIMacOSX_arm64 ( )

Member Function Documentation

◆ CallFrameAddressIsValid()

bool ABIMacOSX_arm64::CallFrameAddressIsValid ( lldb::addr_t  cfa)

Implements lldb_private::ABI.

Definition at line 48 of file ABIMacOSX_arm64.h.

◆ CodeAddressIsValid()

bool ABIMacOSX_arm64::CodeAddressIsValid ( lldb::addr_t  pc)

Implements lldb_private::ABI.

Definition at line 57 of file ABIMacOSX_arm64.h.

References pc.

◆ CreateDefaultUnwindPlan()

bool ABIMacOSX_arm64::CreateDefaultUnwindPlan ( lldb_private::UnwindPlan unwind_plan)

◆ CreateFunctionEntryUnwindPlan()

bool ABIMacOSX_arm64::CreateFunctionEntryUnwindPlan ( lldb_private::UnwindPlan unwind_plan)

◆ CreateInstance()

ABISP ABIMacOSX_arm64::CreateInstance ( lldb::ProcessSP  process_sp,
const lldb_private::ArchSpec arch 

Definition at line 44 of file ABIMacOSX_arm64.cpp.

References lldb_private::ArchSpec::GetTriple().

◆ FixAddress()

lldb::addr_t ABIMacOSX_arm64::FixAddress ( lldb::addr_t  pc,
lldb::addr_t  mask 

Reimplemented from ABIAArch64.

Definition at line 817 of file ABIMacOSX_arm64.cpp.

References pc.

◆ GetArgumentValues()

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

◆ GetPluginName()

llvm::StringRef ABIMacOSX_arm64::GetPluginName ( )

Implements lldb_private::PluginInterface.

Definition at line 79 of file ABIMacOSX_arm64.h.

References GetPluginNameStatic().

◆ GetPluginNameStatic()

static llvm::StringRef ABIMacOSX_arm64::GetPluginNameStatic ( )

Definition at line 77 of file ABIMacOSX_arm64.h.

Referenced by GetPluginName().

◆ GetRedZoneSize()

size_t ABIMacOSX_arm64::GetRedZoneSize ( ) const

Implements lldb_private::ABI.

Definition at line 39 of file ABIMacOSX_arm64.cpp.

◆ GetReturnValueObjectImpl()

ValueObjectSP ABIMacOSX_arm64::GetReturnValueObjectImpl ( lldb_private::Thread thread,
lldb_private::CompilerType ast_type 
) const

◆ Initialize()

void ABIMacOSX_arm64::Initialize ( )

Definition at line 832 of file ABIMacOSX_arm64.cpp.

References pluginDesc.

Referenced by ABIAArch64::Initialize().

◆ PrepareTrivialCall()

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

◆ RegisterIsVolatile()

bool ABIMacOSX_arm64::RegisterIsVolatile ( const lldb_private::RegisterInfo *  reg_info)

Definition at line 411 of file ABIMacOSX_arm64.cpp.

◆ SetReturnValueObject()

Status ABIMacOSX_arm64::SetReturnValueObject ( lldb::StackFrameSP &  frame_sp,
lldb::ValueObjectSP &  new_value 

◆ Terminate()

void ABIMacOSX_arm64::Terminate ( )

Definition at line 837 of file ABIMacOSX_arm64.cpp.

Referenced by ABIAArch64::Terminate().

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