LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::pdb::StringTableHashTraits Struct Reference

#include "llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h"

Public Member Functions

 StringTableHashTraits (PDBStringTableBuilder &Table)
 
uint32_t hashLookupKey (StringRef S) const
 
StringRef storageKeyToLookupKey (uint32_t Offset) const
 
uint32_t lookupKeyToStorageKey (StringRef S)
 

Public Attributes

PDBStringTableBuilderTable
 

Detailed Description

Definition at line 34 of file PDBStringTableBuilder.h.

Constructor & Destructor Documentation

◆ StringTableHashTraits()

StringTableHashTraits::StringTableHashTraits ( PDBStringTableBuilder Table)
explicit

Definition at line 26 of file PDBStringTableBuilder.cpp.

Member Function Documentation

◆ hashLookupKey()

uint32_t StringTableHashTraits::hashLookupKey ( StringRef  S) const

◆ lookupKeyToStorageKey()

uint32_t StringTableHashTraits::lookupKeyToStorageKey ( StringRef  S)

Definition at line 43 of file PDBStringTableBuilder.cpp.

References llvm::pdb::PDBStringTableBuilder::insert(), and Table.

◆ storageKeyToLookupKey()

StringRef StringTableHashTraits::storageKeyToLookupKey ( uint32_t  Offset) const

Member Data Documentation

◆ Table

PDBStringTableBuilder* llvm::pdb::StringTableHashTraits::Table

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