10 #ifndef LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H
11 #define LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H
101 std::vector<CacheEntry> Records;
113 #endif // LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H
bool contains(TypeIndex Index) override
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
LazyRandomTypeCollection(uint32_t RecordCountHint)
Optional< TypeIndex > getNext(TypeIndex Prev) override
void reset(ArrayRef< uint8_t > Data, uint32_t RecordCountHint)
CVType getType(TypeIndex Index) override
uint32_t capacity() override
Allocate memory in an ever growing pool, as if by bump-pointer.
static const unsigned End
StringRef getTypeName(TypeIndex Index) override
uint32_t getOffsetOfType(TypeIndex Index)
Saves strings in the inheritor's stable storage and returns a StringRef with a stable character point...
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
Optional< TypeIndex > getFirst() override
Provides amortized O(1) random access to a CodeView type stream.