LLVM 22.0.0git
llvm::dwarf_linker::parallel::UnitEntryPairTy Struct Reference

This is a helper structure which keeps a debug info entry with it's containing compilation unit. More...

#include "DWARFLinker/Parallel/DWARFLinkerCompileUnit.h"

Public Member Functions

 UnitEntryPairTy ()=default
 UnitEntryPairTy (CompileUnit *CU, const DWARFDebugInfoEntry *DieEntry)
UnitEntryPairTy getNamespaceOrigin ()
std::optional< UnitEntryPairTygetParent ()

Public Attributes

CompileUnitCU = nullptr
const DWARFDebugInfoEntryDieEntry = nullptr

Detailed Description

This is a helper structure which keeps a debug info entry with it's containing compilation unit.

Definition at line 32 of file DWARFLinkerCompileUnit.h.

Constructor & Destructor Documentation

◆ UnitEntryPairTy() [1/2]

llvm::dwarf_linker::parallel::UnitEntryPairTy::UnitEntryPairTy ( )
default

Referenced by getNamespaceOrigin(), and getParent().

◆ UnitEntryPairTy() [2/2]

llvm::dwarf_linker::parallel::UnitEntryPairTy::UnitEntryPairTy ( CompileUnit * CU,
const DWARFDebugInfoEntry * DieEntry )
inline

Definition at line 34 of file DWARFLinkerCompileUnit.h.

References DieEntry.

Member Function Documentation

◆ getNamespaceOrigin()

◆ getParent()

std::optional< UnitEntryPairTy > UnitEntryPairTy::getParent ( )

Member Data Documentation

◆ CU

◆ DieEntry


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