LLVM  7.0.0svn
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)
 
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 36 of file PDBFileBuilder.cpp.

◆ ~PDBFileBuilder()

PDBFileBuilder::~PDBFileBuilder ( )

Definition at line 40 of file PDBFileBuilder.cpp.

◆ 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)

◆ getDbiBuilder()

DbiStreamBuilder & PDBFileBuilder::getDbiBuilder ( )

Definition at line 58 of file PDBFileBuilder.cpp.

◆ getGsiBuilder()

GSIStreamBuilder & PDBFileBuilder::getGsiBuilder ( )

◆ getInfoBuilder()

InfoStreamBuilder & PDBFileBuilder::getInfoBuilder ( )

Definition at line 52 of file PDBFileBuilder.cpp.

Referenced by addInjectedSource().

◆ getIpiBuilder()

TpiStreamBuilder & PDBFileBuilder::getIpiBuilder ( )

Definition at line 70 of file PDBFileBuilder.cpp.

References llvm::pdb::StreamIPI.

◆ getMsfBuilder()

MSFBuilder & PDBFileBuilder::getMsfBuilder ( )

Definition at line 50 of file PDBFileBuilder.cpp.

◆ getNamedStreamIndex()

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

◆ getStringTableBuilder()

PDBStringTableBuilder & PDBFileBuilder::getStringTableBuilder ( )

Definition at line 76 of file PDBFileBuilder.cpp.

Referenced by addInjectedSource().

◆ getTpiBuilder()

TpiStreamBuilder & PDBFileBuilder::getTpiBuilder ( )

Definition at line 64 of file PDBFileBuilder.cpp.

References llvm::pdb::StreamTPI.

◆ initialize()

Error PDBFileBuilder::initialize ( uint32_t  BlockSize)

Definition at line 42 of file PDBFileBuilder.cpp.

References llvm::Error::success().

◆ operator=()

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

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