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

This class creates a DwarfStringPoolEntry for the corresponding StringEntry. More...

#include "DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h"

Public Member Functions

 StringEntryToDwarfStringPoolEntryMap (LinkingGlobalData &GlobalData)
 
 ~StringEntryToDwarfStringPoolEntryMap ()
 
DwarfStringPoolEntryWithExtStringadd (const StringEntry *String)
 Create DwarfStringPoolEntry for specified StringEntry if necessary.
 
DwarfStringPoolEntryWithExtStringgetExistingEntry (const StringEntry *String) const
 Returns already existed DwarfStringPoolEntry for the specified StringEntry.
 
void clear ()
 Erase contents of StringsForEmission.
 

Protected Types

using DwarfStringPoolEntriesTy = DenseMap< const StringEntry *, DwarfStringPoolEntryWithExtString * >
 

Protected Attributes

DwarfStringPoolEntriesTy DwarfStringPoolEntries
 
LinkingGlobalDataGlobalData
 

Detailed Description

This class creates a DwarfStringPoolEntry for the corresponding StringEntry.

Definition at line 21 of file StringEntryToDwarfStringPoolEntryMap.h.

Member Typedef Documentation

◆ DwarfStringPoolEntriesTy

Definition at line 63 of file StringEntryToDwarfStringPoolEntryMap.h.

Constructor & Destructor Documentation

◆ StringEntryToDwarfStringPoolEntryMap()

llvm::dwarf_linker::parallel::StringEntryToDwarfStringPoolEntryMap::StringEntryToDwarfStringPoolEntryMap ( LinkingGlobalData GlobalData)
inline

Definition at line 23 of file StringEntryToDwarfStringPoolEntryMap.h.

◆ ~StringEntryToDwarfStringPoolEntryMap()

llvm::dwarf_linker::parallel::StringEntryToDwarfStringPoolEntryMap::~StringEntryToDwarfStringPoolEntryMap ( )
inline

Definition at line 25 of file StringEntryToDwarfStringPoolEntryMap.h.

Member Function Documentation

◆ add()

DwarfStringPoolEntryWithExtString * llvm::dwarf_linker::parallel::StringEntryToDwarfStringPoolEntryMap::add ( const StringEntry String)
inline

◆ clear()

void llvm::dwarf_linker::parallel::StringEntryToDwarfStringPoolEntryMap::clear ( )
inline

◆ getExistingEntry()

DwarfStringPoolEntryWithExtString * llvm::dwarf_linker::parallel::StringEntryToDwarfStringPoolEntryMap::getExistingEntry ( const StringEntry String) const
inline

Member Data Documentation

◆ DwarfStringPoolEntries

DwarfStringPoolEntriesTy llvm::dwarf_linker::parallel::StringEntryToDwarfStringPoolEntryMap::DwarfStringPoolEntries
protected

Definition at line 65 of file StringEntryToDwarfStringPoolEntryMap.h.

Referenced by add(), clear(), and getExistingEntry().

◆ GlobalData

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

Definition at line 67 of file StringEntryToDwarfStringPoolEntryMap.h.

Referenced by add().


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