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

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

Collaboration diagram for llvm::pdb::StringTableHashTraits:
Collaboration graph
[legend]

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 36 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 37 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: