LLDB  mainline
Public Member Functions | 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. More...
 
void SetFileSpec (const lldb::SBFileSpec &fspec)
 
lldb::SBFileSpec GetPlatformFileSpec ()
 Get accessor for the module platform file. More...
 
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)
 
bool GetDescription (lldb::SBStream &description)
 

Friends

class SBModuleSpecList
 
class SBModule
 
class SBTarget
 

Detailed Description

Definition at line 17 of file SBModuleSpec.h.

Constructor & Destructor Documentation

◆ SBModuleSpec() [1/2]

SBModuleSpec::SBModuleSpec ( )

Definition at line 22 of file SBModuleSpec.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBModuleSpec() [2/2]

SBModuleSpec::SBModuleSpec ( const SBModuleSpec rhs)

Definition at line 26 of file SBModuleSpec.cpp.

References lldb_private::clone(), and LLDB_RECORD_CONSTRUCTOR.

◆ ~SBModuleSpec()

SBModuleSpec::~SBModuleSpec ( )

Definition at line 41 of file SBModuleSpec.cpp.

Member Function Documentation

◆ Clear()

void SBModuleSpec::Clear ( )

Definition at line 53 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ GetDescription()

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

Definition at line 144 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD, 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 59 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and LLDB_RECORD_RESULT.

◆ GetObjectName()

const char * SBModuleSpec::GetObjectName ( )

Definition at line 100 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ 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 73 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, LLDB_RECORD_RESULT, and lldb::SBFileSpec.

◆ GetSymbolFileSpec()

lldb::SBFileSpec SBModuleSpec::GetSymbolFileSpec ( )

Definition at line 87 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, LLDB_RECORD_RESULT, and lldb::SBFileSpec.

◆ GetTriple()

const char * SBModuleSpec::GetTriple ( )

◆ GetUUIDBytes()

const uint8_t * SBModuleSpec::GetUUIDBytes ( )

Definition at line 129 of file SBModuleSpec.cpp.

◆ GetUUIDLength()

size_t SBModuleSpec::GetUUIDLength ( )

Definition at line 133 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_NO_ARGS.

◆ IsValid()

bool SBModuleSpec::IsValid ( ) const

Definition at line 43 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator bool()

SBModuleSpec::operator bool ( ) const
explicit

Definition at line 47 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

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

Definition at line 32 of file SBModuleSpec.cpp.

References lldb_private::clone(), LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ SetFileSpec()

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

Definition at line 66 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD.

◆ SetObjectName()

void SBModuleSpec::SetObjectName ( const char *  name)

Definition at line 106 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD.

◆ SetPlatformFileSpec()

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

Definition at line 80 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD.

◆ SetSymbolFileSpec()

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

Definition at line 93 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD.

◆ SetTriple()

void SBModuleSpec::SetTriple ( const char *  triple)

Definition at line 123 of file SBModuleSpec.cpp.

References LLDB_RECORD_METHOD.

◆ SetUUIDBytes()

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

Definition at line 139 of file SBModuleSpec.cpp.

Friends And Related Function Documentation

◆ SBModule

friend class SBModule
friend

Definition at line 84 of file SBModuleSpec.h.

◆ SBModuleSpecList

friend class SBModuleSpecList
friend

Definition at line 83 of file SBModuleSpec.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 85 of file SBModuleSpec.h.


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