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

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

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(), ObjectFileMachO::CalculateSectionLoadAddressForMemoryImage(), lldb_private::CompileUnit::CalculateSymbolContext(), lldb_private::CompileUnit::CalculateSymbolContextModule(), lldb_private::Function::CalculateSymbolContextModule(), lldb_private::ObjectFile::ClearSymtab(), SymbolFileDWARF::CompleteType(), lldb_private::SearchFilterByModuleListAndCU::CompUnitPasses(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), lldb_private::npdb::SymbolFileNativePDB::CreateConstantSymbol(), lldb_private::npdb::SymbolFileNativePDB::CreateFunction(), lldb_private::npdb::SymbolFileNativePDB::CreateLocalVariable(), lldb_private::breakpad::ObjectFileBreakpad::CreateSections(), lldb_private::wasm::ObjectFileWasm::CreateSections(), ObjectFileMachO::CreateSections(), ObjectFilePECOFF::CreateSections(), ObjectFileELF::CreateSections(), SymbolFileDWARF::DeclContextMatchesThisSymbolFile(), lldb_private::Symtab::Dump(), ObjectFileJIT::Dump(), lldb_private::wasm::ObjectFileWasm::Dump(), ObjectFileMachO::Dump(), ObjectFilePECOFF::Dump(), ObjectFileELF::Dump(), lldb_private::Section::DumpName(), lldb_private::CompileUnit::DumpSymbolContext(), DWARFDebugInfoEntry::Extract(), lldb_private::DWARFCallFrameInfo::FDEToUnwindPlan(), SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(), SymbolFileDWARF::FindFunctions(), SymbolFileDWARF::FindGlobalVariables(), lldb_private::LineTable::FindLineEntryByAddress(), SymbolFileDWARF::FindNamespace(), lldb_private::CompileUnit::ForEachExternalModule(), ObjectFileMachO::GetAddressMask(), ObjectFileMachO::GetArchitecture(), lldb_private::DWARFCallFrameInfo::GetCFIData(), ObjectFileMachO::GetCorefileMainBinaryInfo(), lldb_private::CompileUnit::GetDebugMacros(), ObjectFileMachO::GetDependentModules(), DWARFUnit::GetDIE(), ObjectFileMachO::GetEntryPointAddress(), lldb_private::Type::GetExeModule(), SymbolFileDWARFDebugMap::CompileUnitInfo::GetFileRangeMap(), 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::SymbolFile::GetMainObjectFile(), lldb_private::Type::GetModule(), SymbolFileDWARFDebugMap::GetModuleByCompUnitInfo(), SymbolFileDWARF::GetModuleMutex(), ObjectFileMachO::GetNumThreadContexts(), ObjectContainerUniversalMachO::GetObjectFile(), ObjectContainerBSDArchive::GetObjectFile(), GetRangesOrReportError(), DWARFUnit::GetRnglistData(), DWARFUnit::GetRnglistTable(), ObjectFileMachO::GetSDKVersion(), lldb_private::ObjectFile::GetSectionList(), lldb_private::CompileUnit::GetSupportFiles(), ObjectFileJIT::GetSymtab(), ObjectFileMachO::GetSymtab(), ObjectFilePECOFF::GetSymtab(), ObjectFileELF::GetSymtab(), ObjectFileMachO::GetThreadContextAtIndex(), SymbolFileDWARF::GetTypeForDIE(), lldb::SBCompileUnit::GetTypes(), ObjectFileMachO::GetUUID(), ObjectFileMachO::GetVersion(), SymbolFileDWARF::InitializeObject(), ObjectFileMachO::IsStripped(), SymbolFileDWARFDebugMap::LinkOSOAddress(), SymbolFileDWARF::ParseAndAppendGlobalVariable(), SymbolFileDWARF::ParseBlocksRecursive(), DWARFASTParserClang::ParseChildMembers(), ObjectFilePECOFF::ParseDependentModules(), ObjectContainerBSDArchive::ParseHeader(), ObjectFileMachO::ParseHeader(), ObjectFilePECOFF::ParseHeader(), DWARFASTParserClang::ParseSingleMember(), ObjectFileELF::ParseSymbols(), ObjectFileMachO::ParseSymtab(), SymbolFileDWARF::ParseVariableDIE(), SymbolFileDWARF::ParseXcodeSDK(), lldb_private::IRExecutionUnit::PopulateSectionList(), PrepareContextToReceiveMembers(), ObjectFileMachO::ProcessSegmentCommand(), lldb_private::Target::ReadMemoryFromFileCache(), ObjectFileELF::ReadSectionData(), DWARFFormValue::Reference(), lldb_private::Section::ResolveContainedAddress(), SymbolFilePDB::ResolveFunction(), lldb_private::CompileUnit::ResolveSymbolContext(), SymbolFileDWARF::ResolveType(), SymbolFileDWARF::ResolveTypeUID(), ObjectFileMachO::SanitizeSegmentCommand(), lldb_private::CompactUnwindInfo::ScanIndex(), ObjectFileMachO::SectionIsLoadable(), ObjectFileMachO::SetLoadAddress(), ObjectFilePECOFF::SetLoadAddress(), lldb_private::wasm::ObjectFileWasm::SetLoadAddress(), ObjectFileELF::SetLoadAddress(), DWARFUnit::SetLoclistsBase(), lldb_private::ObjectFile::SetModulesArchitecture(), lldb_private::Symtab::SymbolIndicesToSymbolContextList(), 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 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: