9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSYMBOLSSUBSECTION_H
10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGSYMBOLSSUBSECTION_H
41 return S->
kind() == DebugSubsectionKind::Symbols;
44 uint32_t calculateSerializedSize()
const override;
51 std::vector<CVSymbol> Records;
static void addSymbol(Object &Obj, const NewSymbolInfo &SymInfo, uint8_t DefaultVisibility)
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.
VarStreamArray represents an array of variable length records backed by a stream.
Iterator begin(bool *HadError=nullptr) const
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
DebugSubsectionKind kind() const
DebugSubsectionKind kind() const
CVSymbolArray::Iterator end() const
static bool classof(const DebugSubsectionRef *S)
DebugSymbolsSubsectionRef()
LLVM_ABI Error initialize(BinaryStreamReader Reader)
CVSymbolArray::Iterator begin() const
static bool classof(const DebugSubsection *S)
This is an optimization pass for GlobalISel generic memory operations.