9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_MODULEDEBUGSTREAM_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_MODULEDEBUGSTREAM_H
23class BinaryStreamReader;
25class DebugChecksumsSubsectionRef;
28class MappedBlockStream;
37 std::unique_ptr<msf::MappedBlockStream> Stream);
81 std::shared_ptr<msf::MappedBlockStream> Stream;
Provides read only access to a subclass of BinaryStream.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
A Module instance is used to store all the information related to an LLVM module.
VarStreamArray represents an array of variable length records backed by a stream.
VarStreamArrayIterator< DebugSubsectionRecord, VarStreamArrayExtractor< DebugSubsectionRecord > > Iterator
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
A range adaptor for a pair of iterators.
uint32_t signature() const
LLVM_ABI iterator_range< codeview::CVSymbolArray::Iterator > symbols(bool *HadError) const
LLVM_ABI codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const
LLVM_ABI ModuleDebugStreamRef(const DbiModuleDescriptor &Module, std::unique_ptr< msf::MappedBlockStream > Stream)
LLVM_ABI bool hasDebugSubsections() const
ModuleDebugStreamRef(ModuleDebugStreamRef &&Other)=default
ModuleDebugStreamRef & operator=(ModuleDebugStreamRef &&Other)=delete
LLVM_ABI BinarySubstreamRef getSymbolsSubstream() const
codeview::DebugSubsectionArray getSubsectionsArray() const
LLVM_ABI BinarySubstreamRef getGlobalRefsSubstream() const
LLVM_ABI Expected< codeview::DebugChecksumsSubsectionRef > findChecksumsSubsection() const
LLVM_ABI BinarySubstreamRef getC11LinesSubstream() const
const codeview::CVSymbolArray & getSymbolArray() const
LLVM_ABI BinarySubstreamRef getC13LinesSubstream() const
LLVM_ABI const codeview::CVSymbolArray getSymbolArrayForScope(uint32_t ScopeBegin) const
LLVM_ABI ~ModuleDebugStreamRef()
ModuleDebugStreamRef(const ModuleDebugStreamRef &Other)=default
LLVM_ABI iterator_range< DebugSubsectionIterator > subsections() const
This provides a very simple, boring adaptor for a begin and end iterator into a range type.
This is an optimization pass for GlobalISel generic memory operations.