LLVM  8.0.1
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]
Collaboration diagram for llvm::pdb::GSIHashIterator:
Collaboration 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-- ()
 
bool operator== (const GSIHashIterator &RHS) const
 
bool operator< (const GSIHashIterator &RHS) const
 
typename std::conditional< 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 & >::type operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< GSIHashIterator, std::random_access_iterator_tag, const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type, typename std::conditional< std::is_same< const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::value_type >::value, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::pointer, const uint32_t * >::type, typename std::conditional< 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 & >::type >
GSIHashIterator operator+ (typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type n) const
 
GSIHashIterator operator- (typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type n) const
 
GSIHashIterator & operator++ ()
 
GSIHashIterator operator++ (int)
 
GSIHashIterator & operator-- ()
 
GSIHashIterator operator-- (int)
 
bool operator!= (const GSIHashIterator &RHS) const
 
bool operator> (const GSIHashIterator &RHS) const
 
bool operator<= (const GSIHashIterator &RHS) const
 
bool operator>= (const GSIHashIterator &RHS) const
 
typename std::conditional< std::is_same< const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::value_type >::value, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::pointer, const uint32_t *>::type operator-> ()
 
typename std::conditional< std::is_same< const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::value_type >::value, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::pointer, const uint32_t *>::type operator-> () const
 
ReferenceProxy operator[] (typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type n)
 
ReferenceProxy operator[] (typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type 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
 
- Protected Types inherited from llvm::iterator_facade_base< GSIHashIterator, std::random_access_iterator_tag, const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::difference_type, typename std::conditional< std::is_same< const uint32_t, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::value_type >::value, typename std::iterator_traits< FixedStreamArrayIterator< PSHashRecord > >::pointer, const uint32_t * >::type, typename std::conditional< 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 & >::type >
enum  
 
- 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 30 of file GlobalsStream.h.

Constructor & Destructor Documentation

◆ GSIHashIterator()

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

Definition at line 36 of file GlobalsStream.h.

Referenced by llvm::pdb::GSIHashTable::begin(), and llvm::pdb::GSIHashTable::end().

Member Function Documentation

◆ operator*()

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

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