LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/DbiModuleList.h"
Public Member Functions | |
Error | initialize (BinaryStreamRef ModInfo, BinaryStreamRef FileInfo) |
Expected< StringRef > | getFileName (uint32_t Index) const |
uint32_t | getModuleCount () const |
uint32_t | getSourceFileCount () const |
uint16_t | getSourceFileCount (uint32_t Modi) const |
iterator_range< DbiModuleSourceFilesIterator > | source_files (uint32_t Modi) const |
DbiModuleDescriptor | getModuleDescriptor (uint32_t Modi) const |
Definition at line 67 of file DbiModuleList.h.
Definition at line 271 of file DbiModuleList.cpp.
References getSourceFileCount(), llvm::pdb::index_out_of_bounds, Name, llvm::BinaryStreamReader::readCString(), and llvm::BinaryStreamReader::setOffset().
uint32_t DbiModuleList::getModuleCount | ( | ) | const |
Definition at line 242 of file DbiModuleList.cpp.
References llvm::pdb::FileInfoSubstreamHeader::NumModules.
Referenced by getModuleDescriptor(), llvm::pdb::SymbolCache::getNumCompilands(), and llvm::pdb::SymbolCache::SymbolCache().
DbiModuleDescriptor DbiModuleList::getModuleDescriptor | ( | uint32_t | Modi | ) | const |
Definition at line 256 of file DbiModuleList.cpp.
References assert(), getModuleCount(), and llvm::pdb::Offset.
Referenced by llvm::pdb::getModuleDebugStream(), and llvm::pdb::SymbolCache::getOrCreateCompiland().
uint32_t DbiModuleList::getSourceFileCount | ( | ) | const |
Definition at line 248 of file DbiModuleList.cpp.
Referenced by getFileName().
Definition at line 252 of file DbiModuleList.cpp.
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().
iterator_range< DbiModuleSourceFilesIterator > DbiModuleList::source_files | ( | uint32_t | Modi | ) | const |
Definition at line 265 of file DbiModuleList.cpp.