9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONVISITOR_H
10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGSUBSECTIONVISITOR_H
19class DebugChecksumsSubsectionRef;
20class DebugSubsectionRecord;
21class DebugInlineeLinesSubsectionRef;
22class DebugCrossModuleExportsSubsectionRef;
23class DebugCrossModuleImportsSubsectionRef;
24class DebugFrameDataSubsectionRef;
25class DebugLinesSubsectionRef;
26class DebugStringTableSubsectionRef;
27class DebugSymbolRVASubsectionRef;
28class DebugSymbolsSubsectionRef;
29class DebugUnknownSubsectionRef;
71 State.
initialize(std::forward<T>(FragmentRange));
separate const offset from Split GEPs to a variadic base and a constant offset for better CSE
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
Represents a read-only view of a CodeView string table.
virtual Error visitCOFFSymbolRVAs(DebugSymbolRVASubsectionRef &RVAs, const StringsAndChecksumsRef &State)=0
virtual Error visitSymbols(DebugSymbolsSubsectionRef &CSE, const StringsAndChecksumsRef &State)=0
virtual ~DebugSubsectionVisitor()=default
virtual Error visitFrameData(DebugFrameDataSubsectionRef &FD, const StringsAndChecksumsRef &State)=0
virtual Error visitInlineeLines(DebugInlineeLinesSubsectionRef &Inlinees, const StringsAndChecksumsRef &State)=0
virtual Error visitCrossModuleExports(DebugCrossModuleExportsSubsectionRef &CSE, const StringsAndChecksumsRef &State)=0
virtual Error visitUnknown(DebugUnknownSubsectionRef &Unknown)
virtual Error visitFileChecksums(DebugChecksumsSubsectionRef &Checksums, const StringsAndChecksumsRef &State)=0
virtual Error visitStringTable(DebugStringTableSubsectionRef &ST, const StringsAndChecksumsRef &State)=0
virtual Error visitLines(DebugLinesSubsectionRef &Lines, const StringsAndChecksumsRef &State)=0
virtual Error visitCrossModuleImports(DebugCrossModuleImportsSubsectionRef &CSE, const StringsAndChecksumsRef &State)=0
void initialize(T &&FragmentRange)
Error visitDebugSubsections(T &&FragmentRange, DebugSubsectionVisitor &V, StringsAndChecksumsRef &State)
Error visitDebugSubsections(T &&FragmentRange, DebugSubsectionVisitor &V)
Error visitDebugSubsection(const DebugSubsectionRecord &R, DebugSubsectionVisitor &V, const StringsAndChecksumsRef &State)
This is an optimization pass for GlobalISel generic memory operations.