LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::ModuleChild Class Reference

A mix in class that contains a pointer back to the module that owns the object which inherits from it. More...

#include "lldb/Core/ModuleChild.h"

Inheritance diagram for lldb_private::ModuleChild:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ModuleChild:
Collaboration graph
[legend]

Public Member Functions

 ModuleChild (const lldb::ModuleSP &module_sp)
 Construct with owning module. More...
 
 ModuleChild (const ModuleChild &rhs)
 Copy constructor. More...
 
 ~ModuleChild ()
 Destructor. More...
 
const ModuleChildoperator= (const ModuleChild &rhs)
 Assignment operator. More...
 
lldb::ModuleSP GetModule () const
 Get const accessor for the module pointer. More...
 
void SetModule (const lldb::ModuleSP &module_sp)
 Set accessor for the module pointer. More...
 

Protected Attributes

lldb::ModuleWP m_module_wp
 The Module that owns the object that inherits from this class. More...
 

Detailed Description

A mix in class that contains a pointer back to the module that owns the object which inherits from it.

Definition at line 19 of file ModuleChild.h.

Constructor & Destructor Documentation

◆ ModuleChild() [1/2]

ModuleChild::ModuleChild ( const lldb::ModuleSP &  module_sp)

Construct with owning module.

Parameters
[in]moduleThe module that owns the object that inherits from this class.

Definition at line 13 of file ModuleChild.cpp.

Referenced by lldb_private::ObjectFile::ObjectFile().

◆ ModuleChild() [2/2]

ModuleChild::ModuleChild ( const ModuleChild rhs)

Copy constructor.

Parameters
[in]rhsA const ModuleChild class reference to copy.

Definition at line 16 of file ModuleChild.cpp.

◆ ~ModuleChild()

ModuleChild::~ModuleChild ( )

Destructor.

Definition at line 19 of file ModuleChild.cpp.

Member Function Documentation

◆ GetModule()

lldb::ModuleSP ModuleChild::GetModule ( ) const

Get const accessor for the module pointer.

Returns
A const pointer to the module that owns the object that inherits from this class.

Definition at line 27 of file ModuleChild.cpp.

References m_module_wp.

Referenced by lldb_private::SymbolVendor::AddSymbolFileRepresentation(), lldb_private::breakpad::SymbolFileBreakpad::AddSymbols(), SymbolFilePDB::CalculateAbilities(), lldb_private::npdb::SymbolFileNativePDB::CalculateAbilities(), SymbolFileDWARF::CalculateAbilities(), ObjectFileMachO::CalculateSectionLoadAddressForMemoryImage(), lldb_private::CompileUnit::CalculateSymbolContext(), lldb_private::CompileUnit::CalculateSymbolContextModule(), lldb_private::Function::CalculateSymbolContextModule(), lldb_private::SymbolVendor::ClearSymtab(), lldb_private::ObjectFile::ClearSymtab(), lldb_private::Section::Compare(), CompleteExternalTagDeclType(), SymbolFileDWARF::CompleteType(), DWARFASTParserClang::CompleteTypeFromDWARF(), lldb_private::SearchFilterByModuleListAndCU::CompUnitPasses(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), ObjectFileMachO::CreateSections(), SymbolFileDWARF::DeclContextMatchesThisSymbolFile(), SymbolFileDWARF::DIEInDeclContext(), lldb_private::SymbolVendor::Dump(), lldb_private::Symtab::Dump(), ObjectFileJIT::Dump(), ObjectFileMachO::Dump(), lldb_private::CompileUnit::DumpSymbolContext(), DWARFDebugInfoEntry::FastExtract(), SymbolFileDWARFDebugMap::FindCompleteObjCDefinitionTypeForDIE(), SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(), lldb_private::SymbolVendor::FindFunctions(), SymbolFileDWARFDebugMap::FindFunctions(), SymbolFileDWARF::FindFunctions(), lldb_private::SymbolVendor::FindGlobalVariables(), SymbolFilePDB::FindGlobalVariables(), SymbolFileDWARF::FindGlobalVariables(), lldb_private::LineTable::FindLineEntryByAddress(), lldb_private::SymbolVendor::FindNamespace(), SymbolFileDWARF::FindNamespace(), PDBASTParser::FindNamespaceDecl(), lldb_private::SymbolFile::FindPlugin(), lldb_private::SymbolVendor::FindTypes(), lldb_private::Symtab::ForEachSymbolContainingFileAddress(), DWARFDebugInfoEntry::GetAbbreviationDeclarationPtr(), ObjectFileMachO::GetArchitecture(), GetClangASTContext(), lldb_private::SymbolVendor::GetCompileUnitAtIndex(), ObjectFileMachO::GetCorefileMainBinaryInfo(), lldb_private::CompileUnit::GetDebugMacros(), ObjectFileMachO::GetDependentModules(), DWARFDebugInfoEntry::GetDIENamesAndRanges(), ObjectFileMachO::GetEntryPointAddress(), SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(), lldb_private::DWARFCallFrameInfo::GetFunctionAddressAndSizeVector(), SymbolFileDWARF::GetGlobalAranges(), ObjectFileMachO::GetIdentifierString(), lldb_private::CompileUnit::GetImportedModules(), lldb_private::CompileUnit::GetIsOptimized(), lldb_private::CompileUnit::GetLanguage(), lldb_private::CompileUnit::GetLineTable(), ObjectFileMachO::GetMachHeaderSection(), SymbolFileDWARF::GetMangledNamesForFunction(), DWARFBaseDIE::GetModule(), lldb_private::Type::GetModule(), SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(), lldb_private::SymbolFile::GetModuleMutex(), SymbolFileDWARF::GetModuleMutex(), lldb_private::ObjectFile::GetNextSyntheticSymbolName(), lldb_private::npdb::SymbolFileNativePDB::GetNumCompileUnits(), lldb_private::SymbolVendor::GetNumCompileUnits(), ObjectFileMachO::GetNumThreadContexts(), ObjectContainerUniversalMachO::GetObjectFile(), ObjectContainerBSDArchive::GetObjectFile(), SymbolFilePDB::GetPDBSession(), ObjectFileMachO::GetSDKVersion(), lldb_private::ObjectFile::GetSectionList(), lldb_private::CompileUnit::GetSupportFiles(), ObjectFileJIT::GetSymtab(), ObjectFileMachO::GetSymtab(), lldb_private::SymbolVendor::GetSymtab(), ObjectFileMachO::GetThreadContextAtIndex(), SymbolFilePDB::GetTypeList(), lldb_private::SymbolFile::GetTypeList(), lldb::SBCompileUnit::GetTypes(), lldb_private::SymbolVendor::GetTypes(), lldb_private::npdb::SymbolFileNativePDB::GetTypeSystemForLanguage(), SymbolFilePDB::GetTypeSystemForLanguage(), SymbolFileDWARF::GetTypeSystemForLanguage(), lldb_private::SymbolFile::GetTypeSystemForLanguage(), GetUnqualifiedTypeName(), ObjectFileMachO::GetUUID(), ObjectFileMachO::GetVersion(), lldb_private::npdb::SymbolFileNativePDB::InitializeObject(), SymbolFileDWARF::InitializeObject(), SymbolFileDWARFDebugMap::InitOSO(), ObjectFileMachO::IsStripped(), lldb_private::CompactUnwindInfo::IsValid(), SymbolFileDWARFDebugMap::LinkOSOAddress(), SymbolFileDWARF::LoadSectionData(), lldb_private::SymbolVendor::ParseBlocksRecursive(), SymbolFileDWARF::ParseBlocksRecursive(), DWARFASTParserClang::ParseChildMembers(), SymbolFileDWARF::ParseCompileUnit(), SymbolFileSymtab::ParseCompileUnitAtIndex(), SymbolFileDWARFDebugMap::ParseCompileUnitAtIndex(), lldb_private::SymbolVendor::ParseDebugMacros(), lldb_private::SymbolVendor::ParseFunctions(), ObjectContainerBSDArchive::ParseHeader(), ObjectFileMachO::ParseHeader(), lldb_private::SymbolVendor::ParseImportedModules(), lldb_private::SymbolVendor::ParseIsOptimized(), lldb_private::SymbolVendor::ParseLanguage(), lldb_private::SymbolVendor::ParseLineTable(), lldb_private::SymbolVendor::ParseSupportFiles(), SymbolFileDWARF::ParseSupportFiles(), ObjectFileMachO::ParseSymtab(), DWARFASTParserClang::ParseTypeFromDWARF(), lldb_private::SymbolVendor::ParseTypes(), lldb_private::npdb::SymbolFileNativePDB::ParseTypes(), SymbolFileDWARF::ParseVariableDIE(), SymbolFileDWARF::ParseVariables(), lldb_private::SymbolVendor::ParseVariablesForContext(), lldb_private::IRExecutionUnit::PopulateSectionList(), ObjectFileMachO::ProcessSegmentCommand(), lldb_private::Target::ReadMemoryFromFileCache(), RemoveFunctionsWithModuleNotEqualTo(), DWARFASTParserClang::ResolveNamespaceDIE(), lldb_private::CompileUnit::ResolveSymbolContext(), SymbolFileDWARF::ResolveType(), lldb_private::SymbolVendor::ResolveTypeUID(), SymbolFileDWARF::ResolveTypeUID(), ObjectFileMachO::SanitizeSegmentCommand(), lldb_private::SymbolVendor::SectionFileAddressesChanged(), ObjectFileMachO::SectionIsLoadable(), SymbolFileDWARFDebugMap::SetCompileUnit(), lldb_private::SymbolVendor::SetCompileUnitAtIndex(), ObjectFileMachO::SetLoadAddress(), lldb_private::ObjectFile::SetModulesArchitecture(), and SymbolFileDWARF::UpdateExternalModuleListIfNeeded().

◆ operator=()

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

Assignment operator.

Parameters
[in]rhsA const ModuleChild class reference to copy.
Returns
A const reference to this object.

Definition at line 21 of file ModuleChild.cpp.

References m_module_wp.

◆ SetModule()

void ModuleChild::SetModule ( const lldb::ModuleSP &  module_sp)

Set accessor for the module pointer.

Parameters
[in]moduleA new module that owns the object that inherits from this class.

Definition at line 29 of file ModuleChild.cpp.

References m_module_wp.

Member Data Documentation

◆ m_module_wp

lldb::ModuleWP lldb_private::ModuleChild::m_module_wp
protected

The Module that owns the object that inherits from this class.

Definition at line 62 of file ModuleChild.h.

Referenced by GetModule(), operator=(), and SetModule().


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