9 #ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H 10 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H 16 class BinaryStreamReader;
17 class BinaryStreamWriter;
24 : IO(Reader), Container(Container) {}
27 : IO(Writer), Container(Container) {}
32 #define SYMBOL_RECORD(EnumName, EnumVal, Name) \ 33 Error visitKnownRecord(CVSymbol &CVR, Name &Record) override; 34 #define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) 35 #include "llvm/DebugInfo/CodeView/CodeViewSymbols.def" 38 Optional<SymbolKind> Kind;
This class represents lattice values for constants.
Provides write only access to a subclass of WritableBinaryStream.
Error visitSymbolEnd(CVSymbol &Record) override
SymbolRecordMapping(BinaryStreamWriter &Writer, CodeViewContainer Container)
SymbolRecordMapping(BinaryStreamReader &Reader, CodeViewContainer Container)
Lightweight error class with error context and mandatory checking.
Provides read only access to a subclass of BinaryStream.
Error visitSymbolBegin(CVSymbol &Record) override
CVRecord is a fat pointer (base + size pair) to a symbol or type record.