9#ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H
10#define LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H
16class BinaryStreamReader;
17class 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 std::optional<SymbolKind> Kind;
Provides read only access to a subclass of BinaryStream.
Provides write only access to a subclass of WritableBinaryStream.
Lightweight error class with error context and mandatory checking.
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
Error visitSymbolEnd(CVSymbol &Record) override
SymbolRecordMapping(BinaryStreamReader &Reader, CodeViewContainer Container)
SymbolRecordMapping(BinaryStreamWriter &Writer, CodeViewContainer Container)
Error visitSymbolBegin(CVSymbol &Record) override
This is an optimization pass for GlobalISel generic memory operations.