9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_MODULEDEBUGSTREAM_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_MODULEDEBUGSTREAM_H
22class BinaryStreamReader;
24class DebugChecksumsSubsectionRef;
27class MappedBlockStream;
36 std::unique_ptr<msf::MappedBlockStream> Stream);
80 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
iterator_range< codeview::CVSymbolArray::Iterator > symbols(bool *HadError) const
codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const
bool hasDebugSubsections() const
ModuleDebugStreamRef(ModuleDebugStreamRef &&Other)=default
ModuleDebugStreamRef & operator=(ModuleDebugStreamRef &&Other)=delete
BinarySubstreamRef getSymbolsSubstream() const
codeview::DebugSubsectionArray getSubsectionsArray() const
BinarySubstreamRef getGlobalRefsSubstream() const
Expected< codeview::DebugChecksumsSubsectionRef > findChecksumsSubsection() const
ModuleDebugStreamRef(const DbiModuleDescriptor &Module, std::unique_ptr< msf::MappedBlockStream > Stream)
BinarySubstreamRef getC11LinesSubstream() const
const codeview::CVSymbolArray & getSymbolArray() const
BinarySubstreamRef getC13LinesSubstream() const
const codeview::CVSymbolArray getSymbolArrayForScope(uint32_t ScopeBegin) const
ModuleDebugStreamRef(const ModuleDebugStreamRef &Other)=default
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.