LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::pdb::BulkPublic Struct Reference

This struct is equivalent to codeview::PublicSym32, but it has been optimized for size to speed up bulk serialization and sorting operations during PDB writing. More...

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

Collaboration diagram for llvm::pdb::BulkPublic:
Collaboration graph
[legend]

Public Member Functions

 BulkPublic ()
 
void setFlags (codeview::PublicSymFlags F)
 
void setBucketIdx (uint16_t B)
 
StringRef getName () const
 

Public Attributes

const char * Name = nullptr
 
uint32_t NameLen = 0
 
uint32_t SymOffset = 0
 
uint32_t Offset = 0
 
uint16_t Segment = 0
 
uint16_t Flags: 4
 
uint16_t BucketIdx: 12
 

Detailed Description

This struct is equivalent to codeview::PublicSym32, but it has been optimized for size to speed up bulk serialization and sorting operations during PDB writing.

Definition at line 106 of file GSIStreamBuilder.h.

Constructor & Destructor Documentation

◆ BulkPublic()

llvm::pdb::BulkPublic::BulkPublic ( )
inline

Definition at line 107 of file GSIStreamBuilder.h.

Member Function Documentation

◆ getName()

StringRef llvm::pdb::BulkPublic::getName ( ) const
inline

◆ setBucketIdx()

void llvm::pdb::BulkPublic::setBucketIdx ( uint16_t  B)
inline

Definition at line 133 of file GSIStreamBuilder.h.

References assert(), B, BucketIdx, and llvm::pdb::IPHR_HASH.

◆ setFlags()

void llvm::pdb::BulkPublic::setFlags ( codeview::PublicSymFlags  F)
inline

Definition at line 128 of file GSIStreamBuilder.h.

References assert(), F, and Flags.

Member Data Documentation

◆ BucketIdx

uint16_t llvm::pdb::BulkPublic::BucketIdx

◆ Flags

uint16_t llvm::pdb::BulkPublic::Flags

Definition at line 122 of file GSIStreamBuilder.h.

Referenced by setFlags().

◆ Name

const char* llvm::pdb::BulkPublic::Name = nullptr

Definition at line 109 of file GSIStreamBuilder.h.

Referenced by getName().

◆ NameLen

uint32_t llvm::pdb::BulkPublic::NameLen = 0

Definition at line 110 of file GSIStreamBuilder.h.

Referenced by getName().

◆ Offset

uint32_t llvm::pdb::BulkPublic::Offset = 0

Definition at line 116 of file GSIStreamBuilder.h.

Referenced by computeAddrMap().

◆ Segment

uint16_t llvm::pdb::BulkPublic::Segment = 0

Definition at line 119 of file GSIStreamBuilder.h.

Referenced by computeAddrMap().

◆ SymOffset

uint32_t llvm::pdb::BulkPublic::SymOffset = 0

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