LLVM 20.0.0git
Functions
GlobalsStream.cpp File Reference
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
#include "llvm/DebugInfo/CodeView/RecordName.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/DebugInfo/PDB/Native/SymbolStream.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/Error.h"
#include <algorithm>

Go to the source code of this file.

Functions

static Error checkHashHdrVersion (const GSIHashHeader *HashHdr)
 
static Error readGSIHashHeader (const GSIHashHeader *&HashHdr, BinaryStreamReader &Reader)
 
static Error readGSIHashRecords (FixedStreamArray< PSHashRecord > &HashRecords, const GSIHashHeader *HashHdr, BinaryStreamReader &Reader)
 
static Error readGSIHashBuckets (FixedStreamArray< support::ulittle32_t > &HashBuckets, FixedStreamArray< support::ulittle32_t > &HashBitmap, const GSIHashHeader *HashHdr, MutableArrayRef< int32_t > BucketMap, BinaryStreamReader &Reader)
 

Function Documentation

◆ checkHashHdrVersion()

static Error checkHashHdrVersion ( const GSIHashHeader HashHdr)
static

◆ readGSIHashBuckets()

static Error readGSIHashBuckets ( FixedStreamArray< support::ulittle32_t > &  HashBuckets,
FixedStreamArray< support::ulittle32_t > &  HashBitmap,
const GSIHashHeader HashHdr,
MutableArrayRef< int32_t >  BucketMap,
BinaryStreamReader Reader 
)
static

◆ readGSIHashHeader()

static Error readGSIHashHeader ( const GSIHashHeader *&  HashHdr,
BinaryStreamReader Reader 
)
static

◆ readGSIHashRecords()

static Error readGSIHashRecords ( FixedStreamArray< PSHashRecord > &  HashRecords,
const GSIHashHeader HashHdr,
BinaryStreamReader Reader 
)
static