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

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

Public Member Functions

 NamedStreamMapTraits (NamedStreamMap &NS)
 
uint16_t hashLookupKey (StringRef S) const
 
StringRef storageKeyToLookupKey (uint32_t Offset) const
 
uint32_t lookupKeyToStorageKey (StringRef S)
 

Public Attributes

NamedStreamMapNS
 

Detailed Description

Definition at line 27 of file NamedStreamMap.h.

Constructor & Destructor Documentation

◆ NamedStreamMapTraits()

NamedStreamMapTraits::NamedStreamMapTraits ( NamedStreamMap NS)
explicit

Definition at line 26 of file NamedStreamMap.cpp.

Member Function Documentation

◆ hashLookupKey()

uint16_t NamedStreamMapTraits::hashLookupKey ( StringRef  S) const

Definition at line 28 of file NamedStreamMap.cpp.

References llvm::pdb::hashStringV1().

◆ lookupKeyToStorageKey()

uint32_t NamedStreamMapTraits::lookupKeyToStorageKey ( StringRef  S)

Definition at line 42 of file NamedStreamMap.cpp.

References llvm::pdb::NamedStreamMap::appendStringData(), and NS.

◆ storageKeyToLookupKey()

StringRef NamedStreamMapTraits::storageKeyToLookupKey ( uint32_t  Offset) const

Definition at line 38 of file NamedStreamMap.cpp.

References llvm::pdb::NamedStreamMap::getString(), NS, and llvm::pdb::Offset.

Member Data Documentation

◆ NS

NamedStreamMap* llvm::pdb::NamedStreamMapTraits::NS

Definition at line 28 of file NamedStreamMap.h.

Referenced by lookupKeyToStorageKey(), and storageKeyToLookupKey().


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