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

#include <ABISysV_ppc64.h>

Inheritance diagram for ABISysV_ppc64:
Inheritance graph
[legend]
Collaboration diagram for ABISysV_ppc64:
Collaboration graph
[legend]

Public Member Functions

 ~ABISysV_ppc64 () 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 CallFrameAddressIsValid (lldb::addr_t cfa) override
 
bool CodeAddressIsValid (lldb::addr_t pc) override
 
const lldb_private::RegisterInfo * GetRegisterInfoArray (uint32_t &count) override
 
lldb_private::ConstString GetPluginName () override
 
- Public Member Functions inherited from lldb_private::RegInfoBasedABI
void AugmentRegisterInfo (RegisterInfo &info) 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)
 
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
 
 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 lldb_private::ConstString 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)
 
 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)
 

Private Member Functions

lldb::ByteOrder GetByteOrder () const
 

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 15 of file ABISysV_ppc64.h.

Constructor & Destructor Documentation

◆ ~ABISysV_ppc64()

ABISysV_ppc64::~ABISysV_ppc64 ( )
overridedefault

Member Function Documentation

◆ CallFrameAddressIsValid()

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

Implements lldb_private::ABI.

Definition at line 55 of file ABISysV_ppc64.h.

◆ CodeAddressIsValid()

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

Implements lldb_private::ABI.

Definition at line 64 of file ABISysV_ppc64.h.

◆ CreateDefaultUnwindPlan()

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

◆ CreateFunctionEntryUnwindPlan()

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

◆ CreateInstance()

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

Definition at line 72 of file ABISysV_ppc64.cpp.

References lldb_private::ArchSpec::GetTriple().

◆ CreateRegisterMapIfNeeded()

void ABISysV_ppc64::CreateRegisterMapIfNeeded ( )
protected

◆ GetArgumentValues()

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

◆ GetByteOrder()

lldb::ByteOrder ABISysV_ppc64::GetByteOrder ( ) const
private

Definition at line 65 of file ABISysV_ppc64.cpp.

◆ GetPluginName()

lldb_private::ConstString ABISysV_ppc64::GetPluginName ( )
overridevirtual

Implements lldb_private::PluginInterface.

Definition at line 1085 of file ABISysV_ppc64.cpp.

◆ GetPluginNameStatic()

lldb_private::ConstString ABISysV_ppc64::GetPluginNameStatic ( )
static

Definition at line 1078 of file ABISysV_ppc64.cpp.

◆ GetRedZoneSize()

size_t ABISysV_ppc64::GetRedZoneSize ( ) const
overridevirtual

Implements lldb_private::ABI.

Definition at line 63 of file ABISysV_ppc64.cpp.

◆ GetRegisterInfoArray()

const lldb_private::RegisterInfo * ABISysV_ppc64::GetRegisterInfoArray ( uint32_t count)
overridevirtual

Implements lldb_private::RegInfoBasedABI.

Definition at line 53 of file ABISysV_ppc64.cpp.

References lldb::eByteOrderLittle.

◆ GetReturnValueObjectImpl()

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

Implements lldb_private::ABI.

Definition at line 946 of file ABISysV_ppc64.cpp.

◆ GetReturnValueObjectSimple()

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

◆ Initialize()

void ABISysV_ppc64::Initialize ( )
static

Definition at line 1069 of file ABISysV_ppc64.cpp.

Referenced by ABIPowerPC::Initialize().

◆ PrepareTrivialCall()

bool ABISysV_ppc64::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_ppc64::RegisterIsCalleeSaved ( const lldb_private::RegisterInfo *  reg_info)
protected

Definition at line 1031 of file ABISysV_ppc64.cpp.

◆ RegisterIsVolatile()

bool ABISysV_ppc64::RegisterIsVolatile ( const lldb_private::RegisterInfo *  reg_info)
override

Definition at line 1022 of file ABISysV_ppc64.cpp.

◆ SetReturnValueObject()

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

◆ Terminate()

void ABISysV_ppc64::Terminate ( )
static

Definition at line 1074 of file ABISysV_ppc64.cpp.

Referenced by ABIPowerPC::Terminate().


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