20 using namespace llvm::codeview;
32 CVType RecordCopy = Record;
61 return dump(Types, Dumper);
69 if (!TypeName.
empty())
StringRef getTypeName(TypeIndex Index) const
uint32_t getLength() const
print alias Alias Set Printer
Error visitTypeStream(const CVTypeArray &Types)
Visits the type records in Data. Sets the error flag on parse failures.
uint32_t getIndex() const
Error visitTypeRecord(CVType &Record)
Error readArray(ArrayRef< T > &Array, uint32_t NumElements)
void printHex(StringRef Label, T Value)
Error dump(const CVType &Record, TypeVisitorCallbacks &Dumper)
Dumps one type record.
static ErrorSuccess success()
Create a success value.
Dumper for CodeView type streams found in COFF object files and PDB files.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
static void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI, TypeDatabase &DB)
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
void addCallbackToPipeline(TypeVisitorCallbacks &Callbacks)