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

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

Collaboration diagram for llvm::pdb::NamedStreamMapTraits:
Collaboration graph

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


Detailed Description

Definition at line 27 of file NamedStreamMap.h.

Constructor & Destructor Documentation

◆ NamedStreamMapTraits()

NamedStreamMapTraits::NamedStreamMapTraits ( NamedStreamMap NS)

Definition at line 27 of file NamedStreamMap.cpp.

Member Function Documentation

◆ hashLookupKey()

uint16_t NamedStreamMapTraits::hashLookupKey ( StringRef  S) const

Definition at line 29 of file NamedStreamMap.cpp.

References llvm::pdb::hashStringV1().

◆ lookupKeyToStorageKey()

uint32_t NamedStreamMapTraits::lookupKeyToStorageKey ( StringRef  S)

Definition at line 43 of file NamedStreamMap.cpp.

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

◆ storageKeyToLookupKey()

StringRef NamedStreamMapTraits::storageKeyToLookupKey ( uint32_t  Offset) const

Definition at line 39 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: