LLVM 20.0.0git
Classes | Public Member Functions | List of all members
llvm::pdb::PDBFileBuilder Class Reference

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

Public Member Functions

 PDBFileBuilder (BumpPtrAllocator &Allocator)
 
 ~PDBFileBuilder ()
 
 PDBFileBuilder (const PDBFileBuilder &)=delete
 
PDBFileBuilderoperator= (const PDBFileBuilder &)=delete
 
Error initialize (uint32_t BlockSize)
 
msf::MSFBuildergetMsfBuilder ()
 
InfoStreamBuildergetInfoBuilder ()
 
DbiStreamBuildergetDbiBuilder ()
 
TpiStreamBuildergetTpiBuilder ()
 
TpiStreamBuildergetIpiBuilder ()
 
PDBStringTableBuildergetStringTableBuilder ()
 
GSIStreamBuildergetGsiBuilder ()
 
Error commit (StringRef Filename, codeview::GUID *Guid)
 
Expected< uint32_tgetNamedStreamIndex (StringRef Name) const
 
Error addNamedStream (StringRef Name, StringRef Data)
 
void addInjectedSource (StringRef Name, std::unique_ptr< MemoryBuffer > Buffer)
 

Detailed Description

Definition at line 39 of file PDBFileBuilder.h.

Constructor & Destructor Documentation

◆ PDBFileBuilder() [1/2]

PDBFileBuilder::PDBFileBuilder ( BumpPtrAllocator Allocator)
explicit

Definition at line 43 of file PDBFileBuilder.cpp.

References Allocator.

◆ ~PDBFileBuilder()

PDBFileBuilder::~PDBFileBuilder ( )
default

◆ PDBFileBuilder() [2/2]

llvm::pdb::PDBFileBuilder::PDBFileBuilder ( const PDBFileBuilder )
delete

Member Function Documentation

◆ addInjectedSource()

void PDBFileBuilder::addInjectedSource ( StringRef  Name,
std::unique_ptr< MemoryBuffer Buffer 
)

◆ addNamedStream()

Error PDBFileBuilder::addNamedStream ( StringRef  Name,
StringRef  Data 
)

◆ commit()

Error PDBFileBuilder::commit ( StringRef  Filename,
codeview::GUID Guid 
)

◆ getDbiBuilder()

DbiStreamBuilder & PDBFileBuilder::getDbiBuilder ( )

Definition at line 65 of file PDBFileBuilder.cpp.

◆ getGsiBuilder()

GSIStreamBuilder & PDBFileBuilder::getGsiBuilder ( )

Definition at line 87 of file PDBFileBuilder.cpp.

◆ getInfoBuilder()

InfoStreamBuilder & PDBFileBuilder::getInfoBuilder ( )

Definition at line 59 of file PDBFileBuilder.cpp.

References Info.

◆ getIpiBuilder()

TpiStreamBuilder & PDBFileBuilder::getIpiBuilder ( )

Definition at line 77 of file PDBFileBuilder.cpp.

References llvm::pdb::StreamIPI.

◆ getMsfBuilder()

MSFBuilder & PDBFileBuilder::getMsfBuilder ( )

Definition at line 57 of file PDBFileBuilder.cpp.

◆ getNamedStreamIndex()

Expected< uint32_t > PDBFileBuilder::getNamedStreamIndex ( StringRef  Name) const

Definition at line 227 of file PDBFileBuilder.cpp.

References llvm::pdb::NamedStreamMap::get(), Name, and llvm::pdb::no_stream.

Referenced by commit().

◆ getStringTableBuilder()

PDBStringTableBuilder & PDBFileBuilder::getStringTableBuilder ( )

Definition at line 83 of file PDBFileBuilder.cpp.

Referenced by addInjectedSource().

◆ getTpiBuilder()

TpiStreamBuilder & PDBFileBuilder::getTpiBuilder ( )

Definition at line 71 of file PDBFileBuilder.cpp.

References llvm::pdb::StreamTPI.

◆ initialize()

Error PDBFileBuilder::initialize ( uint32_t  BlockSize)

◆ operator=()

PDBFileBuilder & llvm::pdb::PDBFileBuilder::operator= ( const PDBFileBuilder )
delete

References Content.


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