LLVM 17.0.0git
Public Member Functions | List of all members
llvm::pdb::DbiModuleList Class Reference

#include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"

Public Member Functions

Error initialize (BinaryStreamRef ModInfo, BinaryStreamRef FileInfo)
Expected< StringRefgetFileName (uint32_t Index) const
uint32_t getModuleCount () const
uint32_t getSourceFileCount () const
uint16_t getSourceFileCount (uint32_t Modi) const
iterator_range< DbiModuleSourceFilesIteratorsource_files (uint32_t Modi) const
DbiModuleDescriptor getModuleDescriptor (uint32_t Modi) const

Detailed Description

Definition at line 67 of file DbiModuleList.h.

Member Function Documentation

◆ getFileName()

Expected< StringRef > DbiModuleList::getFileName ( uint32_t  Index) const

Definition at line 271 of file DbiModuleList.cpp.

References getSourceFileCount(), llvm::pdb::index_out_of_bounds, Name, and Names.

◆ getModuleCount()

uint32_t DbiModuleList::getModuleCount ( ) const

◆ getModuleDescriptor()

DbiModuleDescriptor DbiModuleList::getModuleDescriptor ( uint32_t  Modi) const

◆ getSourceFileCount() [1/2]

uint32_t DbiModuleList::getSourceFileCount ( ) const

Definition at line 248 of file DbiModuleList.cpp.

Referenced by getFileName().

◆ getSourceFileCount() [2/2]

uint16_t DbiModuleList::getSourceFileCount ( uint32_t  Modi) const

Definition at line 252 of file DbiModuleList.cpp.

◆ initialize()

Error DbiModuleList::initialize ( BinaryStreamRef  ModInfo,
BinaryStreamRef  FileInfo 

Definition at line 163 of file DbiModuleList.cpp.

References llvm::Error::success().

Referenced by llvm::pdb::DbiStream::reload().

◆ source_files()

iterator_range< DbiModuleSourceFilesIterator > DbiModuleList::source_files ( uint32_t  Modi) const

Definition at line 265 of file DbiModuleList.cpp.

The documentation for this class was generated from the following files: