LLVM
15.0.0git
|
#include "llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h"
Public Member Functions | |
AppendingTypeTableBuilder (BumpPtrAllocator &Storage) | |
~AppendingTypeTableBuilder () | |
Optional< TypeIndex > | getFirst () override |
Optional< TypeIndex > | getNext (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 |
bool | replaceType (TypeIndex &Index, CVType Data, bool Stabilize) override |
void | reset () |
TypeIndex | nextTypeIndex () const |
BumpPtrAllocator & | getAllocator () |
ArrayRef< ArrayRef< uint8_t > > | records () const |
TypeIndex | insertRecordBytes (ArrayRef< uint8_t > &Record) |
TypeIndex | insertRecord (ContinuationRecordBuilder &Builder) |
template<typename T > | |
TypeIndex | writeLeafType (T &Record) |
![]() | |
virtual | ~TypeCollection ()=default |
bool | empty () |
template<typename TFunc > | |
void | ForEachRecord (TFunc Func) |
Definition at line 26 of file AppendingTypeTableBuilder.h.
|
explicit |
Definition at line 27 of file AppendingTypeTableBuilder.cpp.
|
default |
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 62 of file AppendingTypeTableBuilder.cpp.
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 53 of file AppendingTypeTableBuilder.cpp.
|
inline |
Definition at line 52 of file AppendingTypeTableBuilder.h.
Implements llvm::codeview::TypeCollection.
Definition at line 32 of file AppendingTypeTableBuilder.cpp.
References llvm::codeview::TypeCollection::empty(), llvm::codeview::TypeIndex::FirstNonSimpleIndex, and llvm::None.
Implements llvm::codeview::TypeCollection.
Definition at line 39 of file AppendingTypeTableBuilder.cpp.
References nextTypeIndex(), and llvm::None.
Implements llvm::codeview::TypeCollection.
Definition at line 45 of file AppendingTypeTableBuilder.cpp.
Implements llvm::codeview::TypeCollection.
Definition at line 49 of file AppendingTypeTableBuilder.cpp.
References llvm_unreachable.
TypeIndex AppendingTypeTableBuilder::insertRecord | ( | ContinuationRecordBuilder & | Builder | ) |
Definition at line 86 of file AppendingTypeTableBuilder.cpp.
References assert(), Builder, insertRecordBytes(), and nextTypeIndex().
Definition at line 78 of file AppendingTypeTableBuilder.cpp.
References nextTypeIndex(), and stabilize().
Referenced by insertRecord(), and writeLeafType().
TypeIndex AppendingTypeTableBuilder::nextTypeIndex | ( | ) | const |
Definition at line 23 of file AppendingTypeTableBuilder.cpp.
References llvm::codeview::TypeIndex::fromArrayIndex().
Referenced by getNext(), insertRecord(), and insertRecordBytes().
Definition at line 64 of file AppendingTypeTableBuilder.cpp.
Referenced by llvm::CodeViewYAML::detail::LeafRecordImpl< T >::toCodeViewRecord().
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 95 of file AppendingTypeTableBuilder.cpp.
References assert(), llvm::Data, and stabilize().
void AppendingTypeTableBuilder::reset | ( | ) |
Definition at line 68 of file AppendingTypeTableBuilder.cpp.
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 60 of file AppendingTypeTableBuilder.cpp.
|
inline |
Definition at line 58 of file AppendingTypeTableBuilder.h.
References llvm::Data, insertRecordBytes(), and llvm::codeview::SimpleTypeSerializer::serialize().
Referenced by llvm::CodeViewYAML::detail::LeafRecordImpl< T >::toCodeViewRecord().