LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb_private::AppleObjCRuntimeV2::NonPointerISACache Class Reference

Public Member Functions

ObjCLanguageRuntime::ClassDescriptorSP GetClassDescriptor (ObjCISA isa)
 

Static Public Member Functions

static NonPointerISACacheCreateInstance (AppleObjCRuntimeV2 &runtime, const lldb::ModuleSP &objc_module_sp)
 

Private Member Functions

 NonPointerISACache (AppleObjCRuntimeV2 &runtime, const lldb::ModuleSP &objc_module_sp, uint64_t objc_debug_isa_class_mask, uint64_t objc_debug_isa_magic_mask, uint64_t objc_debug_isa_magic_value, uint64_t objc_debug_indexed_isa_magic_mask, uint64_t objc_debug_indexed_isa_magic_value, uint64_t objc_debug_indexed_isa_index_mask, uint64_t objc_debug_indexed_isa_index_shift, lldb::addr_t objc_indexed_classes)
 
bool EvaluateNonPointerISA (ObjCISA isa, ObjCISA &ret_isa)
 
 NonPointerISACache (const NonPointerISACache &)=delete
 
const NonPointerISACacheoperator= (const NonPointerISACache &)=delete
 

Private Attributes

AppleObjCRuntimeV2m_runtime
 
std::map< ObjCISA, ObjCLanguageRuntime::ClassDescriptorSPm_cache
 
lldb::ModuleWP m_objc_module_wp
 
uint64_t m_objc_debug_isa_class_mask
 
uint64_t m_objc_debug_isa_magic_mask
 
uint64_t m_objc_debug_isa_magic_value
 
uint64_t m_objc_debug_indexed_isa_magic_mask
 
uint64_t m_objc_debug_indexed_isa_magic_value
 
uint64_t m_objc_debug_indexed_isa_index_mask
 
uint64_t m_objc_debug_indexed_isa_index_shift
 
lldb::addr_t m_objc_indexed_classes
 
std::vector< lldb::addr_tm_indexed_isa_cache
 

Friends

class AppleObjCRuntimeV2
 

Detailed Description

Definition at line 130 of file AppleObjCRuntimeV2.h.

Constructor & Destructor Documentation

◆ NonPointerISACache() [1/2]

AppleObjCRuntimeV2::NonPointerISACache::NonPointerISACache ( AppleObjCRuntimeV2 runtime,
const lldb::ModuleSP objc_module_sp,
uint64_t  objc_debug_isa_class_mask,
uint64_t  objc_debug_isa_magic_mask,
uint64_t  objc_debug_isa_magic_value,
uint64_t  objc_debug_indexed_isa_magic_mask,
uint64_t  objc_debug_indexed_isa_magic_value,
uint64_t  objc_debug_indexed_isa_index_mask,
uint64_t  objc_debug_indexed_isa_index_shift,
lldb::addr_t  objc_indexed_classes 
)
private

Definition at line 3165 of file AppleObjCRuntimeV2.cpp.

◆ NonPointerISACache() [2/2]

lldb_private::AppleObjCRuntimeV2::NonPointerISACache::NonPointerISACache ( const NonPointerISACache )
privatedelete

Member Function Documentation

◆ CreateInstance()

AppleObjCRuntimeV2::NonPointerISACache * AppleObjCRuntimeV2::NonPointerISACache::CreateInstance ( AppleObjCRuntimeV2 runtime,
const lldb::ModuleSP objc_module_sp 
)
static

◆ EvaluateNonPointerISA()

bool AppleObjCRuntimeV2::NonPointerISACache::EvaluateNonPointerISA ( ObjCISA  isa,
ObjCISA ret_isa 
)
private

◆ GetClassDescriptor()

ObjCLanguageRuntime::ClassDescriptorSP AppleObjCRuntimeV2::NonPointerISACache::GetClassDescriptor ( ObjCISA  isa)

Definition at line 3185 of file AppleObjCRuntimeV2.cpp.

◆ operator=()

const NonPointerISACache & lldb_private::AppleObjCRuntimeV2::NonPointerISACache::operator= ( const NonPointerISACache )
privatedelete

Friends And Related Function Documentation

◆ AppleObjCRuntimeV2

friend class AppleObjCRuntimeV2
friend

Definition at line 167 of file AppleObjCRuntimeV2.h.

Member Data Documentation

◆ m_cache

std::map<ObjCISA, ObjCLanguageRuntime::ClassDescriptorSP> lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_cache
private

Definition at line 153 of file AppleObjCRuntimeV2.h.

◆ m_indexed_isa_cache

std::vector<lldb::addr_t> lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_indexed_isa_cache
private

Definition at line 165 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_indexed_isa_index_mask

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_indexed_isa_index_mask
private

Definition at line 161 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_indexed_isa_index_shift

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_indexed_isa_index_shift
private

Definition at line 162 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_indexed_isa_magic_mask

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_indexed_isa_magic_mask
private

Definition at line 159 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_indexed_isa_magic_value

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_indexed_isa_magic_value
private

Definition at line 160 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_isa_class_mask

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_isa_class_mask
private

Definition at line 155 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_isa_magic_mask

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_isa_magic_mask
private

Definition at line 156 of file AppleObjCRuntimeV2.h.

◆ m_objc_debug_isa_magic_value

uint64_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_debug_isa_magic_value
private

Definition at line 157 of file AppleObjCRuntimeV2.h.

◆ m_objc_indexed_classes

lldb::addr_t lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_indexed_classes
private

Definition at line 163 of file AppleObjCRuntimeV2.h.

◆ m_objc_module_wp

lldb::ModuleWP lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_objc_module_wp
private

Definition at line 154 of file AppleObjCRuntimeV2.h.

◆ m_runtime

AppleObjCRuntimeV2& lldb_private::AppleObjCRuntimeV2::NonPointerISACache::m_runtime
private

Definition at line 152 of file AppleObjCRuntimeV2.h.


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