LLDB mainline
lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders Class Reference

Public Member Functions

void SetNeedsUpdate ()
bool IsImageLoaded (uint16_t image_index)
uint64_t GetVersion ()

Static Public Member Functions

static std::unique_ptr< SharedCacheImageHeadersCreateSharedCacheImageHeaders (AppleObjCRuntimeV2 &runtime)

Private Member Functions

 SharedCacheImageHeaders (AppleObjCRuntimeV2 &runtime, lldb::addr_t headerInfoRWs_ptr, uint32_t count, uint32_t entsize)
llvm::Error UpdateIfNeeded ()

Private Attributes

AppleObjCRuntimeV2m_runtime
lldb::addr_t m_headerInfoRWs_ptr
llvm::BitVector m_loaded_images
uint64_t m_version
uint32_t m_count
uint32_t m_entsize
bool m_needs_update

Detailed Description

Definition at line 390 of file AppleObjCRuntimeV2.h.

Constructor & Destructor Documentation

◆ SharedCacheImageHeaders()

lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::SharedCacheImageHeaders ( AppleObjCRuntimeV2 & runtime,
lldb::addr_t headerInfoRWs_ptr,
uint32_t count,
uint32_t entsize )
inlineprivate

Member Function Documentation

◆ CreateSharedCacheImageHeaders()

std::unique_ptr< AppleObjCRuntimeV2::SharedCacheImageHeaders > AppleObjCRuntimeV2::SharedCacheImageHeaders::CreateSharedCacheImageHeaders ( AppleObjCRuntimeV2 & runtime)
static

◆ GetVersion()

uint64_t AppleObjCRuntimeV2::SharedCacheImageHeaders::GetVersion ( )

◆ IsImageLoaded()

bool AppleObjCRuntimeV2::SharedCacheImageHeaders::IsImageLoaded ( uint16_t image_index)

◆ SetNeedsUpdate()

void lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::SetNeedsUpdate ( )
inline

Definition at line 395 of file AppleObjCRuntimeV2.h.

References m_needs_update.

◆ UpdateIfNeeded()

llvm::Error AppleObjCRuntimeV2::SharedCacheImageHeaders::UpdateIfNeeded ( )
private

Definition at line 1665 of file AppleObjCRuntimeV2.cpp.

References error(), and LLDB_LOG.

Member Data Documentation

◆ m_count

uint32_t lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_count
private

Definition at line 414 of file AppleObjCRuntimeV2.h.

Referenced by IsImageLoaded(), and SharedCacheImageHeaders().

◆ m_entsize

uint32_t lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_entsize
private

Definition at line 415 of file AppleObjCRuntimeV2.h.

Referenced by GetVersion(), IsImageLoaded(), and SharedCacheImageHeaders().

◆ m_headerInfoRWs_ptr

lldb::addr_t lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_headerInfoRWs_ptr
private

Definition at line 411 of file AppleObjCRuntimeV2.h.

Referenced by SharedCacheImageHeaders().

◆ m_loaded_images

llvm::BitVector lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_loaded_images
private

Definition at line 412 of file AppleObjCRuntimeV2.h.

Referenced by SharedCacheImageHeaders().

◆ m_needs_update

bool lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_needs_update
private

Definition at line 416 of file AppleObjCRuntimeV2.h.

Referenced by SetNeedsUpdate(), and SharedCacheImageHeaders().

◆ m_runtime

AppleObjCRuntimeV2& lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_runtime
private

Definition at line 410 of file AppleObjCRuntimeV2.h.

Referenced by SharedCacheImageHeaders().

◆ m_version

uint64_t lldb_private::AppleObjCRuntimeV2::SharedCacheImageHeaders::m_version
private

Definition at line 413 of file AppleObjCRuntimeV2.h.

Referenced by SharedCacheImageHeaders().


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