LLVM  7.0.0svn
Public Member Functions | List of all members
llvm::codeview::AppendingTypeTableBuilder Class Reference

#include "llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h"

Inheritance diagram for llvm::codeview::AppendingTypeTableBuilder:
Inheritance graph
[legend]
Collaboration diagram for llvm::codeview::AppendingTypeTableBuilder:
Collaboration graph
[legend]

Public Member Functions

 AppendingTypeTableBuilder (BumpPtrAllocator &Storage)
 
 ~AppendingTypeTableBuilder ()
 
Optional< TypeIndexgetFirst () override
 
Optional< TypeIndexgetNext (TypeIndex Prev) override
 
CVType getType (TypeIndex Index) override
 
StringRef getTypeName (TypeIndex Index) override
 
bool contains (TypeIndex Index) override
 
uint32_t size () override
 
uint32_t capacity () override
 
void reset ()
 
TypeIndex nextTypeIndex () const
 
BumpPtrAllocatorgetAllocator ()
 
ArrayRef< ArrayRef< uint8_t > > records () const
 
TypeIndex insertRecordBytes (ArrayRef< uint8_t > &Record)
 
TypeIndex insertRecord (ContinuationRecordBuilder &Builder)
 
template<typename T >
TypeIndex writeLeafType (T &Record)
 
- Public Member Functions inherited from llvm::codeview::TypeCollection
virtual ~TypeCollection ()=default
 
bool empty ()
 
template<typename TFunc >
void ForEachRecord (TFunc Func)
 

Detailed Description

Definition at line 30 of file AppendingTypeTableBuilder.h.

Constructor & Destructor Documentation

◆ AppendingTypeTableBuilder()

AppendingTypeTableBuilder::AppendingTypeTableBuilder ( BumpPtrAllocator Storage)
explicit

Definition at line 35 of file AppendingTypeTableBuilder.cpp.

References ~AppendingTypeTableBuilder().

◆ ~AppendingTypeTableBuilder()

AppendingTypeTableBuilder::~AppendingTypeTableBuilder ( )
default

Member Function Documentation

◆ capacity()

uint32_t AppendingTypeTableBuilder::capacity ( )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 75 of file AppendingTypeTableBuilder.cpp.

◆ contains()

bool AppendingTypeTableBuilder::contains ( TypeIndex  Index)
overridevirtual

◆ getAllocator()

BumpPtrAllocator& llvm::codeview::AppendingTypeTableBuilder::getAllocator ( )
inline

Definition at line 55 of file AppendingTypeTableBuilder.h.

References insertRecord(), insertRecordBytes(), and records().

◆ getFirst()

Optional< TypeIndex > AppendingTypeTableBuilder::getFirst ( )
overridevirtual

◆ getNext()

Optional< TypeIndex > AppendingTypeTableBuilder::getNext ( TypeIndex  Prev)
overridevirtual

◆ getType()

CVType AppendingTypeTableBuilder::getType ( TypeIndex  Index)
overridevirtual

◆ getTypeName()

StringRef AppendingTypeTableBuilder::getTypeName ( TypeIndex  Index)
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 62 of file AppendingTypeTableBuilder.cpp.

References llvm_unreachable.

◆ insertRecord()

TypeIndex AppendingTypeTableBuilder::insertRecord ( ContinuationRecordBuilder Builder)

◆ insertRecordBytes()

TypeIndex AppendingTypeTableBuilder::insertRecordBytes ( ArrayRef< uint8_t > &  Record)

◆ nextTypeIndex()

TypeIndex AppendingTypeTableBuilder::nextTypeIndex ( ) const

◆ records()

ArrayRef< ArrayRef< uint8_t > > AppendingTypeTableBuilder::records ( ) const

◆ reset()

void AppendingTypeTableBuilder::reset ( )

Definition at line 81 of file AppendingTypeTableBuilder.cpp.

◆ size()

uint32_t AppendingTypeTableBuilder::size ( )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 73 of file AppendingTypeTableBuilder.cpp.

◆ writeLeafType()

template<typename T >
TypeIndex llvm::codeview::AppendingTypeTableBuilder::writeLeafType ( T Record)
inline

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