9#ifndef LLVM_DEBUGINFO_PDB_NATIVE_DBIMODULELIST_H
10#define LLVM_DEBUGINFO_PDB_NATIVE_DBIMODULELIST_H
30struct FileInfoSubstreamHeader;
34 std::random_access_iterator_tag, StringRef> {
35 using BaseType =
typename DbiModuleSourceFilesIterator::iterator_facade_base;
61 bool isUniversalEnd()
const;
101 std::vector<uint32_t> ModuleInitialFileIndex;
106 std::vector<uint32_t> ModuleDescriptorOffsets;
Lightweight arrays that are backed by an arbitrary BinaryStream.
BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
StringRef - Represent a constant reference to a string, i.e.
CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of ...
A range adaptor for a pair of iterators.
LLVM_ABI DbiModuleDescriptor getModuleDescriptor(uint32_t Modi) const
LLVM_ABI uint32_t getModuleCount() const
LLVM_ABI Error initialize(BinaryStreamRef ModInfo, BinaryStreamRef FileInfo)
LLVM_ABI uint32_t getSourceFileCount() const
LLVM_ABI iterator_range< DbiModuleSourceFilesIterator > source_files(uint32_t Modi) const
LLVM_ABI Expected< StringRef > getFileName(uint32_t Index) const
DbiModuleSourceFilesIterator()=default
LLVM_ABI DbiModuleSourceFilesIterator & operator-=(std::ptrdiff_t N)
LLVM_ABI std::ptrdiff_t operator-(const DbiModuleSourceFilesIterator &R) const
LLVM_ABI bool operator==(const DbiModuleSourceFilesIterator &R) const
DbiModuleSourceFilesIterator(const DbiModuleSourceFilesIterator &R)=default
LLVM_ABI DbiModuleSourceFilesIterator & operator+=(std::ptrdiff_t N)
const StringRef & operator*() const
LLVM_ABI bool operator<(const DbiModuleSourceFilesIterator &RHS) const
DbiModuleSourceFilesIterator & operator=(const DbiModuleSourceFilesIterator &R)=default
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.