10 #ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H 11 #define LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H 17 class BinaryStreamReader;
18 class BinaryStreamWriter;
25 : IO(Reader), Container(Container) {}
28 : IO(Writer), Container(Container) {}
33 #define SYMBOL_RECORD(EnumName, EnumVal, Name) \ 34 Error visitKnownRecord(CVSymbol &CVR, Name &Record) override; 35 #define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) 36 #include "llvm/DebugInfo/CodeView/CodeViewSymbols.def" 39 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