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]

Public Member Functions

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

Protected Attributes

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

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()

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

Construct with owning module.

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

Definition at line 13 of file ModuleChild.cpp.

◆ ~ModuleChild()

ModuleChild::~ModuleChild ( )
default

Destructor.

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 24 of file ModuleChild.cpp.

References m_module_wp.

Referenced by PDBASTParser::AddRecordBases(), PDBASTParser::AddRecordMembers(), PDBASTParser::AddRecordMethod(), lldb_private::SymbolVendor::AddSymbolFileRepresentation(), ObjectFileELF::ApplyRelocations(), lldb_private::CacheSignature::CacheSignature(), ObjectFileMachO::CalculateSectionLoadAddressForMemoryImage(), lldb_private::CompileUnit::CalculateSymbolContext(), lldb_private::CompileUnit::CalculateSymbolContextModule(), lldb_private::Function::CalculateSymbolContextModule(), lldb_private::ObjectFile::ClearSymtab(), lldb_private::plugin::dwarf::SymbolFileDWARF::CompleteType(), lldb_private::SearchFilterByModuleListAndCU::CompUnitPasses(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), ObjectFilePECOFF::CreateBinary(), lldb_private::npdb::SymbolFileNativePDB::CreateBlock(), lldb_private::npdb::SymbolFileNativePDB::CreateConstantSymbol(), lldb_private::npdb::SymbolFileNativePDB::CreateFunction(), lldb_private::npdb::SymbolFileNativePDB::CreateGlobalVariable(), lldb_private::npdb::SymbolFileNativePDB::CreateLocalVariable(), ObjectFileCOFF::CreateSections(), ObjectFileELF::CreateSections(), ObjectFileMachO::CreateSections(), ObjectFilePECOFF::CreateSections(), ObjectFilePlaceholder::CreateSections(), lldb_private::breakpad::ObjectFileBreakpad::CreateSections(), lldb_private::ObjectFileJSON::CreateSections(), lldb_private::wasm::ObjectFileWasm::CreateSections(), lldb_private::plugin::dwarf::SymbolFileDWARF::DeclContextMatchesThisSymbolFile(), lldb_private::Symtab::Decode(), lldb_private::ObjectFileJIT::Dump(), ObjectFileELF::Dump(), ObjectFileMachO::Dump(), ObjectFilePECOFF::Dump(), ObjectFileCOFF::Dump(), lldb_private::wasm::ObjectFileWasm::Dump(), lldb_private::Symtab::Dump(), lldb_private::Section::DumpName(), lldb_private::CompileUnit::DumpSymbolContext(), lldb_private::plugin::dwarf::DWARFDebugInfoEntry::Extract(), lldb_private::DWARFCallFrameInfo::FDEToUnwindPlan(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindFunctions(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindGlobalVariables(), ObjectFileMachO::FindLC_NOTEByName(), lldb_private::LineTable::FindLineEntryByAddress(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindNamespace(), lldb_private::CompileUnit::ForEachExternalModule(), ObjectFileMachO::GetAddressableBits(), ObjectFileMachO::GetArchitecture(), lldb_private::Symtab::GetCacheKey(), lldb_private::plugin::dwarf::ManualDWARFIndex::GetCacheKey(), lldb_private::DWARFCallFrameInfo::GetCFIData(), ObjectFileMachO::GetCorefileMainBinaryInfo(), ObjectFileMachO::GetCorefileThreadExtraInfos(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetDebugInfoModules(), lldb_private::CompileUnit::GetDebugMacros(), ObjectFileMachO::GetDependentModules(), lldb_private::plugin::dwarf::DWARFUnit::GetDIE(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetDwoSymbolFileForCompileUnit(), ObjectFileMachO::GetEntryPointAddress(), lldb_private::Type::GetExeModule(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetGlobalAranges(), ObjectFileELF::GetGnuDebugDataObjectFile(), ObjectFileMachO::GetIdentifierString(), lldb_private::CompileUnit::GetImportedModules(), lldb_private::CompileUnit::GetIsOptimized(), lldb_private::CompileUnit::GetLanguage(), lldb_private::CompileUnit::GetLineTable(), ObjectFileMachO::GetMachHeaderSection(), lldb_private::Type::GetModule(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(), lldb_private::SymbolFile::GetModuleMutex(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetModuleMutex(), ObjectFileMachO::GetNumThreadContexts(), ObjectContainerBSDArchive::GetObjectFile(), lldb_private::ObjectContainerMachOFileset::GetObjectFile(), ObjectContainerUniversalMachO::GetObjectFile(), lldb_private::breakpad::SymbolFileBreakpad::GetOrCreateFunction(), GetPtrAuthMofidierPayload(), GetRangesOrReportError(), lldb_private::plugin::dwarf::DWARFUnit::GetRnglistData(), lldb_private::plugin::dwarf::DWARFUnit::GetRnglistTable(), lldb_private::ObjectFile::GetSectionList(), lldb_private::CompileUnit::GetSupportFiles(), lldb_private::ObjectFile::GetSymtab(), ObjectFileMachO::GetThreadContextAtIndex(), lldb_private::plugin::dwarf::SymbolFileDWARF::GetTypeForDIE(), lldb::SBCompileUnit::GetTypes(), ObjectFileMachO::GetUUID(), ObjectFileMachO::GetVersion(), lldb_private::plugin::dwarf::SymbolFileDWARF::InitializeObject(), lldb_private::Symtab::InitNameIndexes(), ObjectFileMachO::IsStripped(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::LinkOSOAddress(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseAndAppendGlobalVariable(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseBlocksRecursive(), DWARFASTParserClang::ParseChildMembers(), ObjectFilePECOFF::ParseDependentModules(), lldb_private::SymbolFileCTF::ParseFunctions(), lldb_private::SymbolFileCTF::ParseHeader(), ObjectContainerBSDArchive::ParseHeader(), lldb_private::ObjectContainerMachOFileset::ParseHeader(), ObjectFileCOFF::ParseHeader(), ObjectFileMachO::ParseHeader(), ObjectFilePECOFF::ParseHeader(), lldb_private::npdb::SymbolFileNativePDB::ParseLineTable(), DWARFASTParserClang::ParseObjCProperty(), lldb_private::SymbolFileCTF::ParseObjects(), DWARFASTParserClang::ParseRustVariantPart(), DWARFASTParserClang::ParseSingleMember(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseSupportFiles(), ObjectFileELF::ParseSymbols(), ObjectFileELF::ParseSymtab(), lldb_private::ObjectFileJSON::ParseSymtab(), ObjectFileMachO::ParseSymtab(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseVariableDIE(), SymbolFilePDB::ParseVariableForPDBData(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseXcodeSDK(), lldb_private::IRExecutionUnit::PopulateSectionList(), PrepareContextToReceiveMembers(), ObjectFileMachO::ProcessSegmentCommand(), lldb_private::Target::ReadMemoryFromFileCache(), ObjectFileELF::ReadSectionData(), lldb_private::plugin::dwarf::DWARFFormValue::ReferencedUnitAndOffset(), lldb_private::Section::ResolveContainedAddress(), SymbolFilePDB::ResolveFunction(), lldb_private::CompileUnit::ResolveSymbolContext(), lldb_private::plugin::dwarf::SymbolFileDWARF::ResolveType(), lldb_private::plugin::dwarf::SymbolFileDWARF::ResolveTypeUID(), ObjectFileMachO::SanitizeSegmentCommand(), lldb_private::CompactUnwindInfo::ScanIndex(), ObjectFileMachO::SectionIsLoadable(), ObjectFileELF::SetLoadAddress(), ObjectFileMachO::SetLoadAddress(), ObjectFilePECOFF::SetLoadAddress(), ObjectFilePlaceholder::SetLoadAddress(), lldb_private::wasm::ObjectFileWasm::SetLoadAddress(), lldb_private::plugin::dwarf::DWARFUnit::SetLoclistsBase(), lldb_private::ObjectFile::SetModulesArchitecture(), lldb_private::Symtab::SymbolIndicesToSymbolContextList(), and lldb_private::plugin::dwarf::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 18 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]module_spA new module that owns the object that inherits from this class.

Definition at line 26 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 56 of file ModuleChild.h.

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


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