9#ifndef LLDB_API_SBMODULE_H
10#define LLDB_API_SBMODULE_H
34 explicit operator bool()
const;
119 uint32_t resolve_scope);
170 uint32_t name_type_mask = lldb::eFunctionNameTypeAny);
187 const char *name, uint32_t max_matches);
277 uint32_t
GetVersion(uint32_t *versions, uint32_t num_versions);
313 friend class lldb_private::python::SWIGBridge;
bool GetDescription(lldb::SBStream &description)
lldb::SBTypeList GetTypes(uint32_t type_mask=lldb::eTypeClassAny)
Get all types matching type_mask from debug info in this module.
lldb::SBValue FindFirstGlobalVariable(lldb::SBTarget &target, const char *name)
Find the first global (or static) variable by name.
void SetSP(const ModuleSP &module_sp)
lldb::SBType FindFirstType(const char *name)
lldb::SBAddress GetObjectFileEntryPointAddress() const
uint32_t GetAddressByteSize()
uint32_t GetNumCompileUnits()
lldb::SBTypeList FindTypes(const char *type)
lldb::SBValueList FindGlobalVariables(lldb::SBTarget &target, const char *name, uint32_t max_matches)
Find global and static variables by name.
static void GarbageCollectAllocatedModules()
Remove any global modules which are no longer needed.
static uint32_t GetNumberAllocatedModules()
Get the number of global modules.
lldb::SBFileSpec GetSymbolFileSpec() const
Get accessor for the symbol file specification.
lldb::SBSymbol GetSymbolAtIndex(size_t idx)
lldb::ModuleSP m_opaque_sp
lldb::SBSymbol FindSymbol(const char *name, lldb::SymbolType type=eSymbolTypeAny)
lldb::SBAddress ResolveFileAddress(lldb::addr_t vm_addr)
bool IsFileBacked() const
friend class SBSymbolContext
const uint8_t * GetUUIDBytes() const
lldb::SBFileSpec GetRemoteInstallFileSpec()
Get accessor for the remote install path for a module.
uint32_t GetVersion(uint32_t *versions, uint32_t num_versions)
Get the module version numbers.
lldb::SBType GetTypeByID(lldb::user_id_t uid)
Get a type using its type ID.
lldb::SBSection FindSection(const char *sect_name)
lldb::SBCompileUnit GetCompileUnitAtIndex(uint32_t)
lldb::SBSection GetSectionAtIndex(size_t idx)
lldb::SBSymbolContextList FindSymbols(const char *name, lldb::SymbolType type=eSymbolTypeAny)
bool SetRemoteInstallFileSpec(lldb::SBFileSpec &file)
Set accessor for the remote install path for a module.
const char * GetObjectName() const
If this Module represents a specific object or part within a larger file, returns the name of that ob...
bool operator==(const lldb::SBModule &rhs) const
lldb::SBSymbolContextList FindFunctions(const char *name, uint32_t name_type_mask=lldb::eFunctionNameTypeAny)
Find functions by name.
lldb::SBAddress GetObjectFileHeaderAddress() const
lldb::SBFileSpec GetFileSpec() const
Get const accessor for the module file specification.
lldb::SBSymbolContextList FindCompileUnits(const lldb::SBFileSpec &sb_file_spec)
Find compile units related to *this module and passed source file.
lldb::ByteOrder GetByteOrder()
const SBModule & operator=(const SBModule &rhs)
bool operator!=(const lldb::SBModule &rhs) const
const char * GetUUIDString() const
lldb::SBFileSpec GetPlatformFileSpec() const
Get accessor for the module platform file specification.
lldb::SBSymbolContext ResolveSymbolContextForAddress(const lldb::SBAddress &addr, uint32_t resolve_scope)
bool SetPlatformFileSpec(const lldb::SBFileSpec &platform_file)
lldb::SBType GetBasicType(lldb::BasicType type)
BasicType
Basic types enumeration for the public API SBType::GetBasicType().
ByteOrder
Byte ordering definitions.
std::shared_ptr< lldb_private::Module > ModuleSP