LLVM 20.0.0git
Public Member Functions | List of all members
llvm::pdb::GSIHashIterator Class Reference

Iterator over hash records producing symbol record offsets. More...

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

Inheritance diagram for llvm::pdb::GSIHashIterator:
Inheritance graph
[legend]

Public Member Functions

template<typename T >
 GSIHashIterator (T &&v)
 
uint32_t operator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< GSIHashIterator, FixedStreamArrayIterator< PSHashRecord >, std::random_access_iterator_tag, const uint32_t >
GSIHashIterator & operator+= (difference_type n)
 
GSIHashIterator & operator-= (difference_type n)
 
difference_type operator- (const GSIHashIterator &RHS) const
 
GSIHashIterator & operator++ ()
 
GSIHashIterator & operator-- ()
 
std::conditional_t< std::is_same< const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::value_type >::value, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::reference, const uint32_t & > operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedT & operator++ ()
 
DerivedT operator++ (int)
 
DerivedT & operator-- ()
 
DerivedT operator-- (int)
 
bool operator!= (const DerivedT &RHS) const
 
bool operator> (const DerivedT &RHS) const
 
bool operator<= (const DerivedT &RHS) const
 
bool operator>= (const DerivedT &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< GSIHashIterator, FixedStreamArrayIterator< PSHashRecord >, std::random_access_iterator_tag, const uint32_t >
using difference_type = typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type
 
- Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
 
using value_type = T
 
using difference_type = DifferenceTypeT
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< GSIHashIterator, FixedStreamArrayIterator< PSHashRecord >, std::random_access_iterator_tag, const uint32_t >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (FixedStreamArrayIterator< PSHashRecord > u)
 
const FixedStreamArrayIterator< PSHashRecord > & wrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< GSIHashIterator, FixedStreamArrayIterator< PSHashRecord >, std::random_access_iterator_tag, const uint32_t >
FixedStreamArrayIterator< PSHashRecord > I
 

Detailed Description

Iterator over hash records producing symbol record offsets.

Abstracts away the fact that symbol record offsets on disk are off-by-one.

Definition at line 29 of file GlobalsStream.h.

Constructor & Destructor Documentation

◆ GSIHashIterator()

template<typename T >
llvm::pdb::GSIHashIterator::GSIHashIterator ( T &&  v)
inline

Definition at line 35 of file GlobalsStream.h.

Member Function Documentation

◆ operator*()

uint32_t llvm::pdb::GSIHashIterator::operator* ( ) const
inline

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