LLVM 20.0.0git
|
#include "llvm/DebugInfo/CodeView/TypeTableCollection.h"
Public Member Functions | |
TypeTableCollection (ArrayRef< ArrayRef< uint8_t > > Records) | |
std::optional< TypeIndex > | getFirst () override |
std::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 |
Public Member Functions inherited from llvm::codeview::TypeCollection | |
virtual | ~TypeCollection ()=default |
bool | empty () |
virtual std::optional< TypeIndex > | getFirst ()=0 |
virtual std::optional< TypeIndex > | getNext (TypeIndex Prev)=0 |
virtual CVType | getType (TypeIndex Index)=0 |
virtual StringRef | getTypeName (TypeIndex Index)=0 |
virtual bool | contains (TypeIndex Index)=0 |
virtual uint32_t | size ()=0 |
virtual uint32_t | capacity ()=0 |
virtual bool | replaceType (TypeIndex &Index, CVType Data, bool Stabilize)=0 |
template<typename TFunc > | |
void | ForEachRecord (TFunc Func) |
Definition at line 20 of file TypeTableCollection.h.
Definition at line 19 of file TypeTableCollection.cpp.
References Allocator.
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 61 of file TypeTableCollection.cpp.
Implements llvm::codeview::TypeCollection.
Definition at line 55 of file TypeTableCollection.cpp.
References size().
Referenced by getNext().
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 24 of file TypeTableCollection.cpp.
References llvm::codeview::TypeCollection::empty(), and llvm::codeview::TypeIndex::fromArrayIndex().
Implements llvm::codeview::TypeCollection.
Definition at line 30 of file TypeTableCollection.cpp.
References assert(), contains(), size(), and llvm::codeview::TypeIndex::toArrayIndex().
Implements llvm::codeview::TypeCollection.
Definition at line 38 of file TypeTableCollection.cpp.
References assert().
Implements llvm::codeview::TypeCollection.
Definition at line 43 of file TypeTableCollection.cpp.
References llvm::codeview::computeTypeName(), I, llvm::StringSaver::save(), and llvm::codeview::TypeIndex::simpleTypeName().
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 63 of file TypeTableCollection.cpp.
References llvm_unreachable.
|
overridevirtual |
Implements llvm::codeview::TypeCollection.
Definition at line 59 of file TypeTableCollection.cpp.
Referenced by contains(), and getNext().