34 case DebugSubsectionKind::Lines: {
39 return V.visitLines(Fragment, State);
41 case DebugSubsectionKind::FileChecksums: {
46 return V.visitFileChecksums(Fragment, State);
48 case DebugSubsectionKind::InlineeLines: {
52 return V.visitInlineeLines(Fragment, State);
54 case DebugSubsectionKind::CrossScopeExports: {
56 if (
auto EC = Section.initialize(Reader))
58 return V.visitCrossModuleExports(Section, State);
60 case DebugSubsectionKind::CrossScopeImports: {
62 if (
auto EC = Section.initialize(Reader))
64 return V.visitCrossModuleImports(Section, State);
66 case DebugSubsectionKind::Symbols: {
68 if (
auto EC = Section.initialize(Reader))
70 return V.visitSymbols(Section, State);
72 case DebugSubsectionKind::StringTable: {
74 if (
auto EC = Section.initialize(Reader))
76 return V.visitStringTable(Section, State);
78 case DebugSubsectionKind::FrameData: {
80 if (
auto EC = Section.initialize(Reader))
82 return V.visitFrameData(Section, State);
84 case DebugSubsectionKind::CoffSymbolRVA: {
86 if (
auto EC = Section.initialize(Reader))
88 return V.visitCOFFSymbolRVAs(Section, State);
92 return V.visitUnknown(Fragment);
Provides read only access to a subclass of BinaryStream.
Lightweight error class with error context and mandatory checking.
Error initialize(BinaryStreamReader Reader)
Error initialize(BinaryStreamReader Reader)
Error initialize(BinaryStreamReader Reader)
Represents a read-only view of a CodeView string table.
Error visitDebugSubsection(const DebugSubsectionRecord &R, DebugSubsectionVisitor &V, const StringsAndChecksumsRef &State)
This is an optimization pass for GlobalISel generic memory operations.