LLDB  mainline
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
lldb_private::ClassDescriptorV2 Class Reference

#include <AppleObjCClassDescriptorV2.h>

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

Public Member Functions

 ~ClassDescriptorV2 () override=default
 
ConstString GetClassName () override
 
ObjCLanguageRuntime::ClassDescriptorSP GetSuperclass () override
 
ObjCLanguageRuntime::ClassDescriptorSP GetMetaclass () const override
 
bool IsValid () override
 
bool GetTaggedPointerInfo (uint64_t *info_bits=nullptr, uint64_t *value_bits=nullptr, uint64_t *payload=nullptr) override
 
uint64_t GetInstanceSize () override
 
ObjCLanguageRuntime::ObjCISA GetISA () override
 
bool Describe (std::function< void(ObjCLanguageRuntime::ObjCISA)> const &superclass_func, std::function< bool(const char *, const char *)> const &instance_method_func, std::function< bool(const char *, const char *)> const &class_method_func, std::function< bool(const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func) const override
 
size_t GetNumIVars () override
 
iVarDescriptor GetIVarAtIndex (size_t idx) override
 
- Public Member Functions inherited from lldb_private::ObjCLanguageRuntime::ClassDescriptor
 ClassDescriptor ()
 
virtual ~ClassDescriptor ()=default
 
virtual bool IsKVO ()
 
virtual bool IsCFType ()
 
virtual bool CheckPointer (lldb::addr_t value, uint32_t ptr_size) const
 
virtual bool Describe (std::function< void(ObjCISA)> const &superclass_func, std::function< bool(const char *, const char *)> const &instance_method_func, std::function< bool(const char *, const char *)> const &class_method_func, std::function< bool(const char *, const char *, lldb::addr_t, uint64_t)> const &ivar_func) const
 
lldb::TypeSP GetType ()
 
void SetType (const lldb::TypeSP &type_sp)
 

Protected Member Functions

void GetIVarInformation ()
 
- Protected Member Functions inherited from lldb_private::ObjCLanguageRuntime::ClassDescriptor
bool IsPointerValid (lldb::addr_t value, uint32_t ptr_size, bool allow_NULLs=false, bool allow_tagged=false, bool check_version_specific=false) const
 

Friends

class lldb_private::AppleObjCRuntimeV2
 

Detailed Description

Definition at line 20 of file AppleObjCClassDescriptorV2.h.

Constructor & Destructor Documentation

◆ ~ClassDescriptorV2()

lldb_private::ClassDescriptorV2::~ClassDescriptorV2 ( )
overridedefault

Member Function Documentation

◆ Describe()

bool ClassDescriptorV2::Describe ( std::function< void(ObjCLanguageRuntime::ObjCISA)> const &  superclass_func,
std::function< bool(const char *, const char *)> const &  instance_method_func,
std::function< bool(const char *, const char *)> const &  class_method_func,
std::function< bool(const char *, const char *, lldb::addr_t, uint64_t)> const &  ivar_func 
) const
override

Definition at line 324 of file AppleObjCClassDescriptorV2.cpp.

Referenced by GetInstanceSize(), and GetISA().

◆ GetClassName()

ConstString ClassDescriptorV2::GetClassName ( )
overridevirtual

◆ GetInstanceSize()

uint64_t ClassDescriptorV2::GetInstanceSize ( )
overridevirtual

◆ GetISA()

ObjCLanguageRuntime::ObjCISA lldb_private::ClassDescriptorV2::GetISA ( )
inlineoverridevirtual

◆ GetIVarAtIndex()

iVarDescriptor lldb_private::ClassDescriptorV2::GetIVarAtIndex ( size_t  idx)
inlineoverridevirtual

◆ GetIVarInformation()

void ClassDescriptorV2::GetIVarInformation ( )
protected

Definition at line 539 of file AppleObjCClassDescriptorV2.cpp.

Referenced by GetIVarAtIndex(), and GetNumIVars().

◆ GetMetaclass()

ObjCLanguageRuntime::ClassDescriptorSP ClassDescriptorV2::GetMetaclass ( ) const
overridevirtual

◆ GetNumIVars()

size_t lldb_private::ClassDescriptorV2::GetNumIVars ( )
inlineoverridevirtual

Reimplemented from lldb_private::ObjCLanguageRuntime::ClassDescriptor.

Definition at line 55 of file AppleObjCClassDescriptorV2.h.

References GetIVarInformation().

Referenced by GetIVarAtIndex().

◆ GetSuperclass()

ObjCLanguageRuntime::ClassDescriptorSP ClassDescriptorV2::GetSuperclass ( )
overridevirtual

◆ GetTaggedPointerInfo()

bool lldb_private::ClassDescriptorV2::GetTaggedPointerInfo ( uint64_t *  info_bits = nullptr,
uint64_t *  value_bits = nullptr,
uint64_t *  payload = nullptr 
)
inlineoverridevirtual

◆ IsValid()

bool lldb_private::ClassDescriptorV2::IsValid ( )
inlineoverridevirtual

Friends And Related Function Documentation

◆ lldb_private::AppleObjCRuntimeV2

friend class lldb_private::AppleObjCRuntimeV2
friend

Definition at line 22 of file AppleObjCClassDescriptorV2.h.


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