10 #ifndef LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H 11 #define LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H 104 std::vector<CacheEntry> Records;
116 #endif // LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H This class represents lattice values for constants.
bool contains(TypeIndex Index) override
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
LazyRandomTypeCollection(uint32_t RecordCountHint)
Optional< TypeIndex > getNext(TypeIndex Prev) override
amdgpu Simplify well known AMD library false Value Value const Twine & Name
void reset(ArrayRef< uint8_t > Data, uint32_t RecordCountHint)
CVType getType(TypeIndex Index) override
uint32_t capacity() override
The instances of the Type class are immutable: once they are created, they are never changed...
Allocate memory in an ever growing pool, as if by bump-pointer.
Optional< CVType > tryGetType(TypeIndex Index)
StringRef getTypeName(TypeIndex Index) override
uint32_t getOffsetOfType(TypeIndex Index)
Saves strings in the provided stable storage and returns a StringRef with a stable character pointer...
Lightweight error class with error context and mandatory checking.
Provides read only access to a subclass of BinaryStream.
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.