9#ifndef LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H
10#define LLVM_DEBUGINFO_CODEVIEW_SYMBOLRECORDMAPPING_H
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 std::optional<SymbolKind> Kind;
42 CodeViewContainer Container;
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.
SymbolRecordMapping(BinaryStreamReader &Reader, CodeViewContainer Container)
SymbolRecordMapping(BinaryStreamWriter &Writer, CodeViewContainer Container)
CVRecord< SymbolKind > CVSymbol
This is an optimization pass for GlobalISel generic memory operations.