#include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/DebugInfo/PDB/Native/RawError.h"
#include "llvm/DebugInfo/PDB/Native/RawTypes.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/Error.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdint>
usingnamespacellvm;
usingnamespacellvm::pdb;
DbiModuleSourceFilesIterator::DbiModuleSourceFilesIterator(
const DbiModuleList &Modules, uint32_t Modi, uint16_t Filei)
: … { … }
bool DbiModuleSourceFilesIterator::
operator==(const DbiModuleSourceFilesIterator &R) const { … }
bool DbiModuleSourceFilesIterator::
operator<(const DbiModuleSourceFilesIterator &R) const { … }
std::ptrdiff_t DbiModuleSourceFilesIterator::
operator-(const DbiModuleSourceFilesIterator &R) const { … }
DbiModuleSourceFilesIterator &DbiModuleSourceFilesIterator::
operator+=(std::ptrdiff_t N) { … }
DbiModuleSourceFilesIterator &DbiModuleSourceFilesIterator::
operator-=(std::ptrdiff_t N) { … }
void DbiModuleSourceFilesIterator::setValue() { … }
bool DbiModuleSourceFilesIterator::isEnd() const { … }
bool DbiModuleSourceFilesIterator::isUniversalEnd() const { … }
bool DbiModuleSourceFilesIterator::isCompatible(
const DbiModuleSourceFilesIterator &R) const { … }
Error DbiModuleList::initialize(BinaryStreamRef ModInfo,
BinaryStreamRef FileInfo) { … }
Error DbiModuleList::initializeModInfo(BinaryStreamRef ModInfo) { … }
Error DbiModuleList::initializeFileInfo(BinaryStreamRef FileInfo) { … }
uint32_t DbiModuleList::getModuleCount() const { … }
uint32_t DbiModuleList::getSourceFileCount() const { … }
uint16_t DbiModuleList::getSourceFileCount(uint32_t Modi) const { … }
DbiModuleDescriptor DbiModuleList::getModuleDescriptor(uint32_t Modi) const { … }
iterator_range<DbiModuleSourceFilesIterator>
DbiModuleList::source_files(uint32_t Modi) const { … }
Expected<StringRef> DbiModuleList::getFileName(uint32_t Index) const { … }