|
LLDB mainline
|
#include <SBModule.h>
Public Member Functions | |
| SBModule () | |
| SBModule (const SBModule &rhs) | |
| SBModule (const SBModuleSpec &module_spec) | |
| const SBModule & | operator= (const SBModule &rhs) |
| SBModule (lldb::SBProcess &process, lldb::addr_t header_addr) | |
| ~SBModule () | |
| operator bool () const | |
| bool | IsValid () const |
| void | Clear () |
| bool | IsFileBacked () const |
| lldb::SBFileSpec | GetFileSpec () const |
| Get const accessor for the module file specification. | |
| lldb::SBFileSpec | GetPlatformFileSpec () const |
| Get accessor for the module platform file specification. | |
| bool | SetPlatformFileSpec (const lldb::SBFileSpec &platform_file) |
| lldb::SBFileSpec | GetRemoteInstallFileSpec () |
| Get accessor for the remote install path for a module. | |
| bool | SetRemoteInstallFileSpec (lldb::SBFileSpec &file) |
| Set accessor for the remote install path for a module. | |
| lldb::ByteOrder | GetByteOrder () |
| uint32_t | GetAddressByteSize () |
| const char * | GetTriple () |
| const uint8_t * | GetUUIDBytes () const |
| const char * | GetUUIDString () const |
| bool | operator== (const lldb::SBModule &rhs) const |
| bool | operator!= (const lldb::SBModule &rhs) const |
| lldb::SBSection | FindSection (const char *sect_name) |
| lldb::SBAddress | ResolveFileAddress (lldb::addr_t vm_addr) |
| lldb::SBSymbolContext | ResolveSymbolContextForAddress (const lldb::SBAddress &addr, uint32_t resolve_scope) |
| bool | GetDescription (lldb::SBStream &description) |
| uint32_t | GetNumCompileUnits () |
| lldb::SBCompileUnit | GetCompileUnitAtIndex (uint32_t) |
| lldb::SBSymbolContextList | FindCompileUnits (const lldb::SBFileSpec &sb_file_spec) |
| Find compile units related to *this module and passed source file. | |
| size_t | GetNumSymbols () |
| lldb::SBSymbol | GetSymbolAtIndex (size_t idx) |
| lldb::SBSymbol | FindSymbol (const char *name, lldb::SymbolType type=eSymbolTypeAny) |
| lldb::SBSymbolContextList | FindSymbols (const char *name, lldb::SymbolType type=eSymbolTypeAny) |
| size_t | GetNumSections () |
| lldb::SBSection | GetSectionAtIndex (size_t idx) |
| lldb::SBSymbolContextList | FindFunctions (const char *name, uint32_t name_type_mask=lldb::eFunctionNameTypeAny) |
| Find functions by name. | |
| lldb::SBValueList | FindGlobalVariables (lldb::SBTarget &target, const char *name, uint32_t max_matches) |
| Find global and static variables by name. | |
| lldb::SBValue | FindFirstGlobalVariable (lldb::SBTarget &target, const char *name) |
| Find the first global (or static) variable by name. | |
| lldb::SBType | FindFirstType (const char *name) |
| lldb::SBTypeList | FindTypes (const char *type) |
| lldb::SBType | GetTypeByID (lldb::user_id_t uid) |
| Get a type using its type ID. | |
| lldb::SBType | GetBasicType (lldb::BasicType type) |
| lldb::SBTypeList | GetTypes (uint32_t type_mask=lldb::eTypeClassAny) |
| Get all types matching type_mask from debug info in this module. | |
| uint32_t | GetVersion (uint32_t *versions, uint32_t num_versions) |
| Get the module version numbers. | |
| lldb::SBFileSpec | GetSymbolFileSpec () const |
| Get accessor for the symbol file specification. | |
| lldb::SBAddress | GetObjectFileHeaderAddress () const |
| lldb::SBAddress | GetObjectFileEntryPointAddress () const |
| const char * | GetObjectName () const |
| If this Module represents a specific object or part within a larger file, returns the name of that object or part. | |
Static Public Member Functions | |
| static uint32_t | GetNumberAllocatedModules () |
| Get the number of global modules. | |
| static void | GarbageCollectAllocatedModules () |
| Remove any global modules which are no longer needed. | |
Private Member Functions | |
| SBModule (const lldb::ModuleSP &module_sp) | |
| ModuleSP | GetSP () const |
| void | SetSP (const ModuleSP &module_sp) |
Private Attributes | |
| lldb::ModuleSP | m_opaque_sp |
Friends | |
| class | SBAddress |
| class | SBFrame |
| class | SBSection |
| class | SBSymbolContext |
| class | SBPlatform |
| class | SBTarget |
| class | SBType |
| class | lldb_private::python::SWIGBridge |
Definition at line 20 of file SBModule.h.
| SBModule::SBModule | ( | ) |
Definition at line 32 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb_private::python::SWIGBridge, operator!=(), operator=(), operator==(), and SBModule().
| SBModule::SBModule | ( | const SBModule & | rhs | ) |
Definition at line 46 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBModule().
| SBModule::SBModule | ( | const SBModuleSpec & | module_spec | ) |
Definition at line 36 of file SBModule.cpp.
References error(), lldb_private::ModuleList::GetSharedModule(), LLDB_INSTRUMENT_VA, lldb::SBModuleSpec::m_opaque_up, and SetSP().
| SBModule::SBModule | ( | lldb::SBProcess & | process, |
| lldb::addr_t | header_addr ) |
Definition at line 50 of file SBModule.cpp.
References lldb_private::ModuleList::Append(), lldb_private::Target::GetImages(), lldb::SBProcess::GetSP(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
default |
References Clear(), lldb::eSymbolTypeAny, FindCompileUnits(), FindFirstGlobalVariable(), FindFirstType(), FindFunctions(), FindGlobalVariables(), FindSection(), FindSymbol(), FindSymbols(), FindTypes(), GarbageCollectAllocatedModules(), GetAddressByteSize(), GetBasicType(), GetByteOrder(), GetCompileUnitAtIndex(), GetDescription(), GetFileSpec(), GetNumberAllocatedModules(), GetNumCompileUnits(), GetNumSections(), GetNumSymbols(), GetObjectFileEntryPointAddress(), GetObjectFileHeaderAddress(), GetObjectName(), GetPlatformFileSpec(), GetRemoteInstallFileSpec(), GetSectionAtIndex(), GetSymbolAtIndex(), GetSymbolFileSpec(), GetTriple(), GetTypeByID(), GetTypes(), GetUUIDBytes(), GetUUIDString(), GetVersion(), IsFileBacked(), IsValid(), operator!=(), operator==(), ResolveFileAddress(), ResolveSymbolContextForAddress(), SetPlatformFileSpec(), and SetRemoteInstallFileSpec().
|
explicitprivate |
Definition at line 34 of file SBModule.cpp.
References m_opaque_sp.
| void SBModule::Clear | ( | ) |
Definition at line 92 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBModule().
| SBSymbolContextList SBModule::FindCompileUnits | ( | const lldb::SBFileSpec & | sb_file_spec | ) |
Find compile units related to *this module and passed source file.
| [in] | sb_file_spec | A lldb::SBFileSpec object that contains source file specification. |
Definition at line 282 of file SBModule.cpp.
References GetSP(), lldb::SBFileSpec::IsValid(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| lldb::SBValue SBModule::FindFirstGlobalVariable | ( | lldb::SBTarget & | target, |
| const char * | name ) |
Find the first global (or static) variable by name.
| [in] | target | A valid SBTarget instance representing the debuggee. |
| [in] | name | The name of the global or static variable we are looking for. |
Definition at line 433 of file SBModule.cpp.
References FindGlobalVariables(), lldb::SBValueList::GetSize(), lldb::SBValueList::GetValueAtIndex(), lldb::SBValueList::IsValid(), LLDB_INSTRUMENT_VA, and lldb::SBValue.
Referenced by ~SBModule().
| lldb::SBType SBModule::FindFirstType | ( | const char * | name | ) |
Definition at line 443 of file SBModule.cpp.
References lldb::eLanguageTypeC, lldb_private::TypeResults::GetFirstType(), GetSP(), lldb_private::ConstString::GetStringRef(), LLDB_INSTRUMENT_VA, and SBType.
Referenced by ~SBModule().
| lldb::SBSymbolContextList SBModule::FindFunctions | ( | const char * | name, |
| uint32_t | name_type_mask = lldb::eFunctionNameTypeAny ) |
Find functions by name.
| [in] | name | The name of the function we are looking for. |
| [in] | name_type_mask | A logical OR of one or more FunctionNameType enum bits that indicate what kind of names should be used when doing the lookup. Bits include fully qualified names, base names, C++ methods, or ObjC selectors. See FunctionNameType for more details. |
Definition at line 393 of file SBModule.cpp.
References GetSP(), lldb_private::ModuleFunctionSearchOptions::include_inlines, lldb_private::ModuleFunctionSearchOptions::include_symbols, and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| SBValueList SBModule::FindGlobalVariables | ( | lldb::SBTarget & | target, |
| const char * | name, | ||
| uint32_t | max_matches ) |
Find global and static variables by name.
| [in] | target | A valid SBTarget instance representing the debuggee. |
| [in] | name | The name of the global or static variable we are looking for. |
| [in] | max_matches | Allow the number of matches to be limited to max_matches. |
Definition at line 411 of file SBModule.cpp.
References lldb::SBValueList::Append(), lldb_private::ValueObjectVariable::Create(), GetSP(), lldb::SBTarget::GetSP(), LLDB_INSTRUMENT_VA, SBTarget, and lldb::SBValue.
Referenced by FindFirstGlobalVariable(), and ~SBModule().
| SBSection SBModule::FindSection | ( | const char * | sect_name | ) |
Definition at line 549 of file SBModule.cpp.
References lldb_private::SectionList::FindSectionByName(), GetSP(), LLDB_INSTRUMENT_VA, SBSection, and lldb::SBSection::SetSP().
Referenced by ~SBModule().
| lldb::SBSymbol SBModule::FindSymbol | ( | const char * | name, |
| lldb::SymbolType | type = eSymbolTypeAny ) |
Definition at line 319 of file SBModule.cpp.
References lldb_private::Symtab::eDebugAny, lldb_private::Symtab::eVisibilityAny, lldb_private::Symtab::FindFirstSymbolWithNameAndType(), GetSP(), GetUnifiedSymbolTable(), LLDB_INSTRUMENT_VA, and lldb::SBSymbol::SetSymbol().
Referenced by ~SBModule().
| lldb::SBSymbolContextList SBModule::FindSymbols | ( | const char * | name, |
| lldb::SymbolType | type = eSymbolTypeAny ) |
Definition at line 335 of file SBModule.cpp.
References lldb_private::SymbolContextList::Append(), lldb_private::Symtab::FindAllSymbolsWithNameAndType(), GetSP(), GetUnifiedSymbolTable(), LLDB_INSTRUMENT_VA, lldb_private::SymbolContext::module_sp, lldb_private::SymbolContext::symbol, and lldb_private::Symtab::SymbolAtIndex().
Referenced by ~SBModule().
| lldb::SBTypeList SBModule::FindTypes | ( | const char * | type | ) |
Definition at line 486 of file SBModule.cpp.
References lldb::SBTypeList::Append(), lldb::eLanguageTypeC, lldb_private::TypeMap::Empty(), GetSP(), lldb_private::TypeResults::GetTypeMap(), LLDB_INSTRUMENT_VA, SBType, and lldb_private::TypeMap::Types().
Referenced by ~SBModule().
|
static |
Remove any global modules which are no longer needed.
Definition at line 675 of file SBModule.cpp.
References LLDB_INSTRUMENT, and lldb_private::ModuleList::RemoveOrphanSharedModules().
Referenced by ~SBModule().
| uint32_t SBModule::GetAddressByteSize | ( | ) |
Definition at line 594 of file SBModule.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| lldb::SBType SBModule::GetBasicType | ( | lldb::BasicType | type | ) |
Definition at line 469 of file SBModule.cpp.
References lldb::eLanguageTypeC, GetSP(), LLDB_INSTRUMENT_VA, and SBType.
Referenced by ~SBModule().
| lldb::ByteOrder SBModule::GetByteOrder | ( | ) |
Definition at line 570 of file SBModule.cpp.
References lldb::eByteOrderInvalid, GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| SBCompileUnit SBModule::GetCompileUnitAtIndex | ( | uint32_t | index | ) |
Definition at line 270 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBCompileUnit::reset().
Referenced by ~SBModule().
| bool SBModule::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 246 of file SBModule.cpp.
References lldb_private::Stream::AsRawOstream(), GetSP(), LLDB_INSTRUMENT_VA, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
Referenced by ~SBModule().
| SBFileSpec SBModule::GetFileSpec | ( | ) | const |
Get const accessor for the module file specification.
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.
Definition at line 112 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBFileSpec::SetFileSpec().
Referenced by ~SBModule().
|
static |
Get the number of global modules.
Definition at line 669 of file SBModule.cpp.
References lldb_private::Module::GetNumberAllocatedModules(), and LLDB_INSTRUMENT.
Referenced by ~SBModule().
| uint32_t SBModule::GetNumCompileUnits | ( | ) |
Definition at line 260 of file SBModule.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| size_t SBModule::GetNumSections | ( | ) |
Definition at line 363 of file SBModule.cpp.
References lldb_private::SectionList::GetSize(), GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| size_t SBModule::GetNumSymbols | ( | ) |
Definition at line 299 of file SBModule.cpp.
References GetSP(), GetUnifiedSymbolTable(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| lldb::SBAddress SBModule::GetObjectFileEntryPointAddress | ( | ) | const |
Definition at line 656 of file SBModule.cpp.
References lldb_private::ObjectFile::GetEntryPointAddress(), GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBAddress::ref().
Referenced by ~SBModule().
| lldb::SBAddress SBModule::GetObjectFileHeaderAddress | ( | ) | const |
Definition at line 643 of file SBModule.cpp.
References lldb_private::ObjectFile::GetBaseAddress(), GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBAddress::ref().
Referenced by ~SBModule().
| const char * SBModule::GetObjectName | ( | ) | const |
If this Module represents a specific object or part within a larger file, returns the name of that object or part.
Otherwise, returns nullptr.
Definition at line 682 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ~SBModule().
| lldb::SBFileSpec SBModule::GetPlatformFileSpec | ( | ) | const |
Get accessor for the module platform file specification.
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.
Definition at line 123 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBFileSpec::SetFileSpec().
Referenced by ~SBModule().
| lldb::SBFileSpec SBModule::GetRemoteInstallFileSpec | ( | ) |
Get accessor for the remote install path for a module.
When debugging to a remote platform by connecting to a remote platform, the install path of the module can be set. If the install path is set, every time the process is about to launch the target will install this module on the remote platform prior to launching.
Definition at line 148 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBFileSpec::SetFileSpec().
Referenced by ~SBModule().
| SBSection SBModule::GetSectionAtIndex | ( | size_t | idx | ) |
Definition at line 377 of file SBModule.cpp.
References lldb_private::SectionList::GetSectionAtIndex(), GetSP(), LLDB_INSTRUMENT_VA, SBSection, and lldb::SBSection::SetSP().
Referenced by ~SBModule().
|
private |
Definition at line 216 of file SBModule.cpp.
References m_opaque_sp.
Referenced by lldb::SBTarget::AddModule(), lldb::SBTarget::AddModule(), lldb::SBTarget::ClearModuleLoadAddress(), FindCompileUnits(), FindFirstType(), FindFunctions(), FindGlobalVariables(), FindSection(), FindSymbol(), FindSymbols(), FindTypes(), GetAddressByteSize(), GetBasicType(), GetByteOrder(), GetCompileUnitAtIndex(), GetDescription(), GetFileSpec(), GetNumCompileUnits(), GetNumSections(), GetNumSymbols(), GetObjectFileEntryPointAddress(), GetObjectFileHeaderAddress(), GetPlatformFileSpec(), GetRemoteInstallFileSpec(), GetSectionAtIndex(), GetSymbolAtIndex(), GetSymbolFileSpec(), GetTriple(), GetTypeByID(), GetTypes(), GetUUIDBytes(), GetUUIDString(), GetVersion(), IsFileBacked(), lldb::SBTarget::IsLoaded(), lldb_private::python::SWIGBridge, lldb::SBTarget::RemoveModule(), ResolveFileAddress(), ResolveSymbolContextForAddress(), SetPlatformFileSpec(), and SetRemoteInstallFileSpec().
| SBSymbol SBModule::GetSymbolAtIndex | ( | size_t | idx | ) |
Definition at line 308 of file SBModule.cpp.
References GetSP(), GetUnifiedSymbolTable(), LLDB_INSTRUMENT_VA, lldb::SBSymbol::SetSymbol(), and lldb_private::Symtab::SymbolAtIndex().
Referenced by ~SBModule().
| lldb::SBFileSpec SBModule::GetSymbolFileSpec | ( | ) | const |
Get accessor for the symbol file specification.
When debugging an object file an additional debug information can be provided in separate file. Therefore if you debugging something like '/usr/lib/liba.dylib' then debug information can be located in folder like '/usr/lib/liba.dylib.dSYM/'.
Definition at line 631 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBFileSpec::SetFileSpec().
Referenced by ~SBModule().
| const char * SBModule::GetTriple | ( | ) |
Definition at line 579 of file SBModule.cpp.
References lldb_private::ConstString::GetCString(), GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| lldb::SBType SBModule::GetTypeByID | ( | lldb::user_id_t | uid | ) |
Get a type using its type ID.
Each symbol file reader will assign different user IDs to their types, but it is sometimes useful when debugging type issues to be able to grab a type using its type ID.
For DWARF debug info, the type ID is the DIE offset.
| [in] | uid | The type user ID. |
Definition at line 516 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and SBType.
Referenced by ~SBModule().
| lldb::SBTypeList SBModule::GetTypes | ( | uint32_t | type_mask = lldb::eTypeClassAny | ) |
Get all types matching type_mask from debug info in this module.
| [in] | type_mask | A bitfield that consists of one or more bits logically OR'ed together from the lldb::TypeClass enumeration. This allows you to request only structure types, or only class, struct and union types. Passing in lldb::eTypeClassAny will return all types found in the debug information for this module. |
Definition at line 530 of file SBModule.cpp.
References GetSP(), lldb_private::SymbolFile::GetTypes(), LLDB_INSTRUMENT_VA, and lldb::SBTypeList::m_opaque_up.
Referenced by ~SBModule().
| const uint8_t * SBModule::GetUUIDBytes | ( | ) | const |
Definition at line 169 of file SBModule.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| const char * SBModule::GetUUIDString | ( | ) | const |
Definition at line 180 of file SBModule.cpp.
References lldb_private::ConstString::GetCString(), GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| uint32_t SBModule::GetVersion | ( | uint32_t * | versions, |
| uint32_t | num_versions ) |
Get the module version numbers.
Many object files have a set of version numbers that describe the version of the executable or shared library. Typically there are major, minor and build, but there may be more. This function will extract the versions from object files if they are available.
If versions is NULL, or if num_versions is 0, the return value will indicate how many version numbers are available in this object file. Then a subsequent call can be made to this function with a value of versions and num_versions that has enough storage to store some or all version numbers.
| [out] | versions | A pointer to an array of uint32_t types that is num_versions long. If this value is NULL, the return value will indicate how many version numbers are required for a subsequent call to this function so that all versions can be retrieved. If the value is non-NULL, then at most num_versions of the existing versions numbers will be filled into versions. If there is no version information available, versions will be filled with num_versions UINT32_MAX values and zero will be returned. |
| [in] | num_versions | The maximum number of entries to fill into versions. If this value is zero, then the return value will indicate how many version numbers there are in total so another call to this function can be make with adequate storage in versions to get all of the version numbers. If num_versions is less than the actual number of version numbers in this object file, only num_versions will be filled into versions (if versions is non-NULL). |
Definition at line 603 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and UINT32_MAX.
Referenced by ~SBModule().
| bool SBModule::IsFileBacked | ( | ) | const |
Definition at line 98 of file SBModule.cpp.
References GetSP(), lldb_private::ObjectFile::IsInMemory(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| bool SBModule::IsValid | ( | ) | const |
Definition at line 82 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTarget::AddModule(), and ~SBModule().
|
explicit |
Definition at line 86 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
| bool SBModule::operator!= | ( | const lldb::SBModule & | rhs | ) | const |
Definition at line 208 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBModule().
Referenced by ~SBModule().
Definition at line 72 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBModule().
| bool SBModule::operator== | ( | const lldb::SBModule & | rhs | ) | const |
Definition at line 200 of file SBModule.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_sp, and SBModule().
Referenced by ~SBModule().
| SBAddress SBModule::ResolveFileAddress | ( | lldb::addr_t | vm_addr | ) |
Definition at line 220 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, lldb::SBAddress::ref(), and SBAddress.
Referenced by ~SBModule().
| SBSymbolContext SBModule::ResolveSymbolContextForAddress | ( | const lldb::SBAddress & | addr, |
| uint32_t | resolve_scope ) |
Definition at line 234 of file SBModule.cpp.
References GetSP(), lldb::SBAddress::IsValid(), LLDB_INSTRUMENT_VA, lldb::SBAddress::ref(), SBAddress, and SBSymbolContext.
Referenced by ~SBModule().
| bool SBModule::SetPlatformFileSpec | ( | const lldb::SBFileSpec & | platform_file | ) |
Definition at line 134 of file SBModule.cpp.
References GetSP(), and LLDB_INSTRUMENT_VA.
Referenced by ~SBModule().
| bool SBModule::SetRemoteInstallFileSpec | ( | lldb::SBFileSpec & | file | ) |
Set accessor for the remote install path for a module.
When debugging to a remote platform by connecting to a remote platform, the install path of the module can be set. If the install path is set, every time the process is about to launch the target will install this module on the remote platform prior to launching.
If file specifies a full path to an install location, the module will be installed to this path. If the path is relative (no directory specified, or the path is partial like "usr/lib" or "./usr/lib", then the install path will be resolved using the platform's current working directory as the base path.
| [in] | file | A file specification object. |
Definition at line 158 of file SBModule.cpp.
References GetSP(), LLDB_INSTRUMENT_VA, and lldb::SBFileSpec::ref().
Referenced by ~SBModule().
|
private |
Definition at line 218 of file SBModule.cpp.
References m_opaque_sp.
Referenced by lldb::SBTarget::AddModule(), lldb::SBTarget::FindModule(), lldb::SBTarget::FindModule(), lldb::SBAddress::GetModule(), lldb::SBFrame::GetModule(), lldb::SBSymbolContext::GetModule(), lldb::SBType::GetModule(), lldb::SBTarget::GetModuleAtIndex(), lldb_private::python::SWIGBridge, and SBModule().
|
friend |
Definition at line 313 of file SBModule.h.
References GetSP(), SBModule(), and SetSP().
|
friend |
Definition at line 305 of file SBModule.h.
References SBAddress.
Referenced by ResolveFileAddress(), ResolveSymbolContextForAddress(), and SBAddress.
|
friend |
|
friend |
|
friend |
Definition at line 307 of file SBModule.h.
References SBSection.
Referenced by FindSection(), GetSectionAtIndex(), and SBSection.
|
friend |
Definition at line 308 of file SBModule.h.
References SBSymbolContext.
Referenced by ResolveSymbolContextForAddress(), and SBSymbolContext.
|
friend |
Definition at line 310 of file SBModule.h.
References SBTarget.
Referenced by FindGlobalVariables(), and SBTarget.
|
friend |
Definition at line 311 of file SBModule.h.
References SBType.
Referenced by FindFirstType(), FindTypes(), GetBasicType(), GetTypeByID(), and SBType.
|
private |
Definition at line 321 of file SBModule.h.
Referenced by Clear(), GetObjectName(), GetSP(), operator bool(), operator!=(), operator=(), operator==(), SBModule(), SBModule(), SBModule(), and SetSP().