LLVM 24.0.0git
llvm::dwarf_linker::parallel::DebugDieModuleRefPatch Struct Reference

This structure is used to update a DW_AT_import reference to a DW_TAG_module. More...

#include "DWARFLinker/Parallel/OutputSections.h"

Inheritance diagram for llvm::dwarf_linker::parallel::DebugDieModuleRefPatch:
[legend]

Public Member Functions

 DebugDieModuleRefPatch (uint64_t PatchOffset, CompileUnit *RefCU, uint32_t RefIdx, ModuleAnchor *Anchor)
Public Member Functions inherited from llvm::dwarf_linker::parallel::DebugDieRefPatch
 DebugDieRefPatch (uint64_t PatchOffset, CompileUnit *SrcCU, CompileUnit *RefCU, uint32_t RefIdx)

Public Attributes

ModuleAnchorAnchor = nullptr
Public Attributes inherited from llvm::dwarf_linker::parallel::DebugDieRefPatch
PointerIntPair< CompileUnit *, 1 > RefCU
uint64_t RefDieIdxOrClonedOffset = 0
Public Attributes inherited from llvm::dwarf_linker::parallel::SectionPatch
uint64_t PatchOffset = 0

Detailed Description

This structure is used to update a DW_AT_import reference to a DW_TAG_module.

The reference resolves to the module's anchor once the link has filled it in, and to the inherited target otherwise. The inherited target is always resolved as an inter-CU reference, so that the attribute keeps the width it was emitted with whichever of the two wins.

Definition at line 109 of file OutputSections.h.

Constructor & Destructor Documentation

◆ DebugDieModuleRefPatch()

llvm::dwarf_linker::parallel::DebugDieModuleRefPatch::DebugDieModuleRefPatch ( uint64_t PatchOffset,
CompileUnit * RefCU,
uint32_t RefIdx,
ModuleAnchor * Anchor )
inline

Member Data Documentation

◆ Anchor

ModuleAnchor* llvm::dwarf_linker::parallel::DebugDieModuleRefPatch::Anchor = nullptr

Definition at line 114 of file OutputSections.h.

Referenced by DebugDieModuleRefPatch().


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