LLDB mainline
lldb_private::SharedCacheImageInfo Struct Reference

#include <HostInfoBase.h>

Classes

struct  LazyExtractor

Public Member Functions

 SharedCacheImageInfo ()
 SharedCacheImageInfo (std::string filename, UUID uuid, lldb::DataExtractorSP extractor_sp)
 SharedCacheImageInfo (std::string filename, UUID uuid, lldb::DataExtractorSP(*create_data_extractor)(void *image), void *image_baton)
lldb::DataExtractorSP GetExtractor ()
 Copies share the extractor, which is created at most once.
llvm::StringRef GetFilename () const
const UUID & GetUUID () const

Private Attributes

std::string m_filename
UUID m_uuid
lldb::DataExtractorSP m_extractor_sp
lldb::DataExtractorSP(* m_create_data_extractor )(void *image)
void * m_image_baton
std::shared_ptr< LazyExtractor > m_lazy

Detailed Description

Definition at line 33 of file HostInfoBase.h.

Constructor & Destructor Documentation

◆ SharedCacheImageInfo() [1/3]

lldb_private::SharedCacheImageInfo::SharedCacheImageInfo ( )
inline

◆ SharedCacheImageInfo() [2/3]

lldb_private::SharedCacheImageInfo::SharedCacheImageInfo ( std::string filename,
UUID uuid,
lldb::DataExtractorSP extractor_sp )
inline

◆ SharedCacheImageInfo() [3/3]

lldb_private::SharedCacheImageInfo::SharedCacheImageInfo ( std::string filename,
UUID uuid,
lldb::DataExtractorSP(* create_data_extractor )(void *image),
void * image_baton )
inline

Member Function Documentation

◆ GetExtractor()

lldb::DataExtractorSP lldb_private::SharedCacheImageInfo::GetExtractor ( )
inline

Copies share the extractor, which is created at most once.

Definition at line 51 of file HostInfoBase.h.

References m_extractor_sp, and m_lazy.

Referenced by lldb_private::DynamicLoaderDarwin::FindTargetModuleForImageInfo(), and lldb_private::PlatformDarwin::GetModuleFromSharedCaches().

◆ GetFilename()

llvm::StringRef lldb_private::SharedCacheImageInfo::GetFilename ( ) const
inline

Definition at line 60 of file HostInfoBase.h.

References m_filename.

◆ GetUUID()

Member Data Documentation

◆ m_create_data_extractor

lldb::DataExtractorSP(* lldb_private::SharedCacheImageInfo::m_create_data_extractor) (void *image)
private

Definition at line 72 of file HostInfoBase.h.

Referenced by SharedCacheImageInfo(), SharedCacheImageInfo(), and SharedCacheImageInfo().

◆ m_extractor_sp

lldb::DataExtractorSP lldb_private::SharedCacheImageInfo::m_extractor_sp
private

◆ m_filename

std::string lldb_private::SharedCacheImageInfo::m_filename
private

◆ m_image_baton

void* lldb_private::SharedCacheImageInfo::m_image_baton
private

Definition at line 73 of file HostInfoBase.h.

Referenced by SharedCacheImageInfo(), SharedCacheImageInfo(), and SharedCacheImageInfo().

◆ m_lazy

std::shared_ptr<LazyExtractor> lldb_private::SharedCacheImageInfo::m_lazy
private

◆ m_uuid

UUID lldb_private::SharedCacheImageInfo::m_uuid
private

The documentation for this struct was generated from the following file: