LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb::SBModuleSpec Class Reference

#include <SBModuleSpec.h>

Public Member Functions

 SBModuleSpec ()
 
 SBModuleSpec (const SBModuleSpec &rhs)
 
 ~SBModuleSpec ()
 
const SBModuleSpecoperator= (const SBModuleSpec &rhs)
 
 operator bool () const
 
bool IsValid () const
 
void Clear ()
 
lldb::SBFileSpec GetFileSpec ()
 Get const accessor for the module file.
 
void SetFileSpec (const lldb::SBFileSpec &fspec)
 
lldb::SBFileSpec GetPlatformFileSpec ()
 Get accessor for the module platform file.
 
void SetPlatformFileSpec (const lldb::SBFileSpec &fspec)
 
lldb::SBFileSpec GetSymbolFileSpec ()
 
void SetSymbolFileSpec (const lldb::SBFileSpec &fspec)
 
const char * GetObjectName ()
 
void SetObjectName (const char *name)
 
const char * GetTriple ()
 
void SetTriple (const char *triple)
 
const uint8_t * GetUUIDBytes ()
 
size_t GetUUIDLength ()
 
bool SetUUIDBytes (const uint8_t *uuid, size_t uuid_len)
 
uint64_t GetObjectOffset ()
 
void SetObjectOffset (uint64_t object_offset)
 
uint64_t GetObjectSize ()
 
void SetObjectSize (uint64_t object_size)
 
bool GetDescription (lldb::SBStream &description)
 

Private Member Functions

 SBModuleSpec (const lldb_private::ModuleSpec &module_spec)
 

Private Attributes

std::unique_ptr< lldb_private::ModuleSpecm_opaque_up
 

Friends

class SBModuleSpecList
 
class SBModule
 
class SBPlatform
 
class SBTarget
 

Detailed Description

Definition at line 17 of file SBModuleSpec.h.

Constructor & Destructor Documentation

◆ SBModuleSpec() [1/3]

SBModuleSpec::SBModuleSpec ( )

Definition at line 22 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBModuleSpec() [2/3]

SBModuleSpec::SBModuleSpec ( const SBModuleSpec rhs)

Definition at line 26 of file SBModuleSpec.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ~SBModuleSpec()

SBModuleSpec::~SBModuleSpec ( )
default

◆ SBModuleSpec() [3/3]

SBModuleSpec::SBModuleSpec ( const lldb_private::ModuleSpec module_spec)
private

Definition at line 32 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA.

Member Function Documentation

◆ Clear()

void SBModuleSpec::Clear ( )

Definition at line 57 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetDescription()

bool SBModuleSpec::GetDescription ( lldb::SBStream description)

Definition at line 146 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBStream::ref().

◆ GetFileSpec()

SBFileSpec SBModuleSpec::GetFileSpec ( )

Get const accessor for the module file.

This function returns the file for the module on the host system that is running LLDB. This can differ from the path on the platform since we might be doing remote debugging.

Returns
A const reference to the file specification object.

Definition at line 63 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetObjectName()

const char * SBModuleSpec::GetObjectName ( )

Definition at line 100 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetObjectOffset()

uint64_t SBModuleSpec::GetObjectOffset ( )

Definition at line 153 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetObjectSize()

uint64_t SBModuleSpec::GetObjectSize ( )

Definition at line 165 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetPlatformFileSpec()

lldb::SBFileSpec SBModuleSpec::GetPlatformFileSpec ( )

Get accessor for the module platform file.

Platform file refers to the path of the module as it is known on the remote system on which it is being debugged. For local debugging this is always the same as Module::GetFileSpec(). But remote debugging might mention a file '/usr/lib/liba.dylib' which might be locally downloaded and cached. In this case the platform file could be something like: '/tmp/lldb/platform-cache/remote.host.computer/usr/lib/liba.dylib' The file could also be cached in a local developer kit directory.

Returns
A const reference to the file specification object.

Definition at line 76 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetSymbolFileSpec()

lldb::SBFileSpec SBModuleSpec::GetSymbolFileSpec ( )

Definition at line 88 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetTriple()

const char * SBModuleSpec::GetTriple ( )

◆ GetUUIDBytes()

const uint8_t * SBModuleSpec::GetUUIDBytes ( )

Definition at line 129 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetUUIDLength()

size_t SBModuleSpec::GetUUIDLength ( )

Definition at line 134 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ IsValid()

bool SBModuleSpec::IsValid ( ) const

Definition at line 47 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator bool()

SBModuleSpec::operator bool ( ) const
explicit

Definition at line 51 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator=()

const SBModuleSpec & SBModuleSpec::operator= ( const SBModuleSpec rhs)

Definition at line 37 of file SBModuleSpec.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetFileSpec()

void SBModuleSpec::SetFileSpec ( const lldb::SBFileSpec fspec)

Definition at line 70 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetObjectName()

void SBModuleSpec::SetObjectName ( const char *  name)

Definition at line 106 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetObjectOffset()

void SBModuleSpec::SetObjectOffset ( uint64_t  object_offset)

Definition at line 159 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetObjectSize()

void SBModuleSpec::SetObjectSize ( uint64_t  object_size)

Definition at line 171 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetPlatformFileSpec()

void SBModuleSpec::SetPlatformFileSpec ( const lldb::SBFileSpec fspec)

Definition at line 82 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetSymbolFileSpec()

void SBModuleSpec::SetSymbolFileSpec ( const lldb::SBFileSpec fspec)

Definition at line 94 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetTriple()

void SBModuleSpec::SetTriple ( const char *  triple)

Definition at line 123 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetUUIDBytes()

bool SBModuleSpec::SetUUIDBytes ( const uint8_t *  uuid,
size_t  uuid_len 
)

Definition at line 140 of file SBModuleSpec.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Friends And Related Function Documentation

◆ SBModule

friend class SBModule
friend

Definition at line 92 of file SBModuleSpec.h.

◆ SBModuleSpecList

friend class SBModuleSpecList
friend

Definition at line 91 of file SBModuleSpec.h.

◆ SBPlatform

friend class SBPlatform
friend

Definition at line 93 of file SBModuleSpec.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 94 of file SBModuleSpec.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::ModuleSpec> lldb::SBModuleSpec::m_opaque_up
private

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