LLVM 20.0.0git
|
#include "llvm/Support/BinaryStreamArray.h"
Public Types | |
typedef VarStreamArrayIterator< ValueType, Extractor > | Iterator |
Public Member Functions | |
VarStreamArray ()=default | |
VarStreamArray (const Extractor &E) | |
VarStreamArray (BinaryStreamRef Stream, uint32_t Skew=0) | |
VarStreamArray (BinaryStreamRef Stream, const Extractor &E, uint32_t Skew=0) | |
Iterator | begin (bool *HadError=nullptr) const |
bool | valid () const |
bool | isOffsetValid (uint32_t Offset) const |
uint32_t | skew () const |
Iterator | end () const |
bool | empty () const |
VarStreamArray< ValueType, Extractor > | substream (uint32_t Begin, uint32_t End) const |
Iterator | at (uint32_t Offset) const |
given an offset into the array's underlying stream, return an iterator to the record at that offset. | |
const Extractor & | getExtractor () const |
Extractor & | getExtractor () |
BinaryStreamRef | getUnderlyingStream () const |
void | setUnderlyingStream (BinaryStreamRef NewStream, uint32_t NewSkew=0) |
void | drop_front () |
Friends | |
class | VarStreamArrayIterator< ValueType, Extractor > |
Definition at line 92 of file BinaryStreamArray.h.
typedef VarStreamArrayIterator<ValueType, Extractor> llvm::VarStreamArray< ValueType, Extractor >::Iterator |
Definition at line 96 of file BinaryStreamArray.h.
|
default |
|
inlineexplicit |
Definition at line 100 of file BinaryStreamArray.h.
|
inlineexplicit |
Definition at line 102 of file BinaryStreamArray.h.
|
inline |
Definition at line 105 of file BinaryStreamArray.h.
|
inline |
given an offset into the array's underlying stream, return an iterator to the record at that offset.
This is considered unsafe since the behavior is undefined if Offset
does not refer to the beginning of a valid record.
Definition at line 134 of file BinaryStreamArray.h.
References E, and llvm::Offset.
Referenced by llvm::pdb::NativeFunctionSymbol::findInlineFramesByVA(), llvm::pdb::SymbolGroup::formatFromChecksumsOffset(), getFileName(), llvm::pdb::SymbolGroup::getNameFromChecksums(), llvm::VarStreamArray< ValueType, Extractor >::isOffsetValid(), llvm::pdb::SymbolStream::readRecord(), and llvm::pdb::ModuleDebugStreamRef::readSymbolAtOffset().
|
inline |
Definition at line 108 of file BinaryStreamArray.h.
References E.
Referenced by llvm::codeview::DebugChecksumsSubsectionRef::begin(), llvm::codeview::DebugCrossModuleImportsSubsectionRef::begin(), llvm::codeview::DebugInlineeLinesSubsectionRef::begin(), llvm::codeview::DebugLinesSubsectionRef::begin(), llvm::codeview::DebugSymbolsSubsectionRef::begin(), llvm::VarStreamArray< ValueType, Extractor >::drop_front(), llvm::pdb::SymbolStream::getSymbols(), llvm::pdb::ModuleDebugStreamRef::subsections(), llvm::pdb::ModuleDebugStreamRef::symbols(), and llvm::pdb::TpiStream::types().
|
inline |
Definition at line 147 of file BinaryStreamArray.h.
References llvm::VarStreamArray< ValueType, Extractor >::begin().
|
inline |
Definition at line 119 of file BinaryStreamArray.h.
References llvm::BinaryStreamRefBase< RefType, StreamType >::getLength().
|
inline |
Definition at line 117 of file BinaryStreamArray.h.
References E.
Referenced by llvm::codeview::DebugChecksumsSubsectionRef::end(), llvm::codeview::DebugCrossModuleImportsSubsectionRef::end(), llvm::codeview::DebugInlineeLinesSubsectionRef::end(), llvm::codeview::DebugLinesSubsectionRef::end(), llvm::codeview::DebugSymbolsSubsectionRef::end(), llvm::pdb::SymbolGroup::formatFromChecksumsOffset(), getFileName(), llvm::pdb::SymbolGroup::getNameFromChecksums(), llvm::pdb::SymbolStream::getSymbols(), llvm::VarStreamArray< ValueType, Extractor >::isOffsetValid(), llvm::pdb::ModuleDebugStreamRef::readSymbolAtOffset(), llvm::pdb::ModuleDebugStreamRef::subsections(), llvm::pdb::ModuleDebugStreamRef::symbols(), and llvm::pdb::TpiStream::types().
|
inline |
Definition at line 139 of file BinaryStreamArray.h.
References E.
|
inline |
Definition at line 138 of file BinaryStreamArray.h.
References E.
Referenced by llvm::codeview::DebugInlineeLinesSubsectionRef::initialize(), and llvm::codeview::DebugLinesSubsectionRef::initialize().
|
inline |
Definition at line 141 of file BinaryStreamArray.h.
|
inline |
Definition at line 114 of file BinaryStreamArray.h.
References llvm::VarStreamArray< ValueType, Extractor >::at(), llvm::VarStreamArray< ValueType, Extractor >::end(), and llvm::Offset.
|
inline |
Definition at line 142 of file BinaryStreamArray.h.
|
inline |
Definition at line 116 of file BinaryStreamArray.h.
|
inline |
Definition at line 121 of file BinaryStreamArray.h.
References assert(), E, End, and llvm::BinaryStreamRefBase< RefType, StreamType >::slice().
|
inline |
Definition at line 112 of file BinaryStreamArray.h.
References llvm::BinaryStreamRefBase< RefType, StreamType >::valid().
Referenced by llvm::codeview::DebugChecksumsSubsectionRef::valid(), and llvm::codeview::DebugInlineeLinesSubsectionRef::valid().
|
friend |
Definition at line 50 of file BinaryStreamArray.h.