33 case DebugSubsectionKind::Lines: {
38 return V.visitLines(Fragment, State);
40 case DebugSubsectionKind::FileChecksums: {
45 return V.visitFileChecksums(Fragment, State);
47 case DebugSubsectionKind::InlineeLines: {
51 return V.visitInlineeLines(Fragment, State);
53 case DebugSubsectionKind::CrossScopeExports: {
55 if (
auto EC = Section.initialize(Reader))
57 return V.visitCrossModuleExports(Section, State);
59 case DebugSubsectionKind::CrossScopeImports: {
61 if (
auto EC = Section.initialize(Reader))
63 return V.visitCrossModuleImports(Section, State);
65 case DebugSubsectionKind::Symbols: {
67 if (
auto EC = Section.initialize(Reader))
69 return V.visitSymbols(Section, State);
71 case DebugSubsectionKind::StringTable: {
73 if (
auto EC = Section.initialize(Reader))
75 return V.visitStringTable(Section, State);
77 case DebugSubsectionKind::FrameData: {
79 if (
auto EC = Section.initialize(Reader))
81 return V.visitFrameData(Section, State);
83 case DebugSubsectionKind::CoffSymbolRVA: {
85 if (
auto EC = Section.initialize(Reader))
87 return V.visitCOFFSymbolRVAs(Section, State);
91 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.