LLVM 20.0.0git
Classes | Functions
GSIStreamBuilder.cpp File Reference
#include "llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h"
#include "llvm/DebugInfo/CodeView/RecordName.h"
#include "llvm/DebugInfo/CodeView/RecordSerialization.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/CodeView/SymbolSerializer.h"
#include "llvm/DebugInfo/MSF/MSFBuilder.h"
#include "llvm/DebugInfo/MSF/MSFCommon.h"
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
#include "llvm/DebugInfo/PDB/Native/Hash.h"
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
#include "llvm/Support/BinaryItemStream.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Parallel.h"
#include "llvm/Support/TimeProfiler.h"
#include "llvm/Support/xxhash.h"
#include <algorithm>
#include <vector>

Go to the source code of this file.

Classes

struct  llvm::pdb::GSIHashStreamBuilder
 
struct  llvm::pdb::SymbolDenseMapInfo
 

Functions

static uint32_t sizeOfPublic (const BulkPublic &Pub)
 
static CVSymbol serializePublic (uint8_t *Mem, const BulkPublic &Pub)
 
static bool isAsciiString (StringRef S)
 
static int gsiRecordCmp (StringRef S1, StringRef S2)
 
static Error writePublics (BinaryStreamWriter &Writer, ArrayRef< BulkPublic > Publics)
 
static Error writeRecords (BinaryStreamWriter &Writer, ArrayRef< CVSymbol > Records)
 
static std::vector< support::ulittle32_tcomputeAddrMap (ArrayRef< BulkPublic > Publics)
 

Function Documentation

◆ computeAddrMap()

static std::vector< support::ulittle32_t > computeAddrMap ( ArrayRef< BulkPublic Publics)
static

Definition at line 419 of file GSIStreamBuilder.cpp.

References I, and llvm::parallelSort().

◆ gsiRecordCmp()

static int gsiRecordCmp ( StringRef  S1,
StringRef  S2 
)
static

◆ isAsciiString()

static bool isAsciiString ( StringRef  S)
static

Definition at line 151 of file GSIStreamBuilder.cpp.

References llvm::all_of(), and llvm::CallingConv::C.

Referenced by gsiRecordCmp().

◆ serializePublic()

static CVSymbol serializePublic ( uint8_t *  Mem,
const BulkPublic Pub 
)
static

◆ sizeOfPublic()

static uint32_t sizeOfPublic ( const BulkPublic Pub)
static

◆ writePublics()

static Error writePublics ( BinaryStreamWriter Writer,
ArrayRef< BulkPublic Publics 
)
static

◆ writeRecords()

static Error writeRecords ( BinaryStreamWriter Writer,
ArrayRef< CVSymbol Records 
)
static