LLVM 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::dwarf_linker::parallel::AcceleratorRecordsSaver Class Reference

This class helps to store information for accelerator entries. More...

#include "DWARFLinker/Parallel/AcceleratorRecordsSaver.h"

Public Member Functions

 AcceleratorRecordsSaver (LinkingGlobalData &GlobalData, CompileUnit &InUnit, CompileUnit *OutUnit)
 
 AcceleratorRecordsSaver (LinkingGlobalData &GlobalData, CompileUnit &InUnit, TypeUnit *OutUnit)
 
void save (const DWARFDebugInfoEntry *InputDieEntry, DIE *OutDIE, AttributesInfo &AttrInfo, TypeEntry *TypeEntry)
 Save accelerator info for the specified OutDIE inside OutUnit.
 

Protected Member Functions

 AcceleratorRecordsSaver (LinkingGlobalData &GlobalData, CompileUnit &InUnit, CompileUnit::OutputUnitVariantPtr OutUnit)
 
void saveObjC (const DWARFDebugInfoEntry *InputDieEntry, DIE *OutDIE, AttributesInfo &AttrInfo)
 
void saveNameRecord (StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag, bool AvoidForPubSections)
 
void saveNamespaceRecord (StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag, TypeEntry *TypeEntry)
 
void saveObjCNameRecord (StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag)
 
void saveTypeRecord (StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag, uint32_t QualifiedNameHash, bool ObjcClassImplementation, TypeEntry *TypeEntry)
 

Protected Attributes

LinkingGlobalDataGlobalData
 Global linking data.
 
CompileUnitInUnit
 Comiple unit corresponding to input DWARF.
 
CompileUnit::OutputUnitVariantPtr OutUnit
 Compile unit or Artificial type unit corresponding to the output DWARF.
 

Detailed Description

This class helps to store information for accelerator entries.

It prepares accelerator info for the certain DIE and store it inside OutUnit.

Definition at line 24 of file AcceleratorRecordsSaver.h.

Constructor & Destructor Documentation

◆ AcceleratorRecordsSaver() [1/3]

llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::AcceleratorRecordsSaver ( LinkingGlobalData GlobalData,
CompileUnit InUnit,
CompileUnit OutUnit 
)
inline

Definition at line 26 of file AcceleratorRecordsSaver.h.

◆ AcceleratorRecordsSaver() [2/3]

llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::AcceleratorRecordsSaver ( LinkingGlobalData GlobalData,
CompileUnit InUnit,
TypeUnit OutUnit 
)
inline

Definition at line 31 of file AcceleratorRecordsSaver.h.

◆ AcceleratorRecordsSaver() [3/3]

llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::AcceleratorRecordsSaver ( LinkingGlobalData GlobalData,
CompileUnit InUnit,
CompileUnit::OutputUnitVariantPtr  OutUnit 
)
inlineprotected

Definition at line 42 of file AcceleratorRecordsSaver.h.

Member Function Documentation

◆ save()

void AcceleratorRecordsSaver::save ( const DWARFDebugInfoEntry InputDieEntry,
DIE OutDIE,
AttributesInfo AttrInfo,
TypeEntry TypeEntry 
)

◆ saveNameRecord()

void AcceleratorRecordsSaver::saveNameRecord ( StringEntry Name,
DIE OutDIE,
dwarf::Tag  Tag,
bool  AvoidForPubSections 
)
protected

◆ saveNamespaceRecord()

void AcceleratorRecordsSaver::saveNamespaceRecord ( StringEntry Name,
DIE OutDIE,
dwarf::Tag  Tag,
TypeEntry TypeEntry 
)
protected

◆ saveObjC()

void AcceleratorRecordsSaver::saveObjC ( const DWARFDebugInfoEntry InputDieEntry,
DIE OutDIE,
AttributesInfo AttrInfo 
)
protected

◆ saveObjCNameRecord()

void AcceleratorRecordsSaver::saveObjCNameRecord ( StringEntry Name,
DIE OutDIE,
dwarf::Tag  Tag 
)
protected

◆ saveTypeRecord()

void AcceleratorRecordsSaver::saveTypeRecord ( StringEntry Name,
DIE OutDIE,
dwarf::Tag  Tag,
uint32_t  QualifiedNameHash,
bool  ObjcClassImplementation,
TypeEntry TypeEntry 
)
protected

Member Data Documentation

◆ GlobalData

LinkingGlobalData& llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::GlobalData
protected

Global linking data.

Definition at line 59 of file AcceleratorRecordsSaver.h.

Referenced by save(), and saveObjC().

◆ InUnit

CompileUnit& llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::InUnit
protected

Comiple unit corresponding to input DWARF.

Definition at line 62 of file AcceleratorRecordsSaver.h.

Referenced by save().

◆ OutUnit

CompileUnit::OutputUnitVariantPtr llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::OutUnit
protected

Compile unit or Artificial type unit corresponding to the output DWARF.

Definition at line 65 of file AcceleratorRecordsSaver.h.

Referenced by saveNameRecord(), saveNamespaceRecord(), saveObjCNameRecord(), and saveTypeRecord().


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