LLVM
8.0.1
|
#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 69 of file DbiModuleList.h.
Definition at line 269 of file DbiModuleList.cpp.
References llvm::pdb::index_out_of_bounds, Name, llvm::BinaryStreamReader::readCString(), and llvm::BinaryStreamReader::setOffset().
Referenced by llvm::pdb::DbiModuleSourceFilesIterator::operator-=().
uint32_t DbiModuleList::getModuleCount | ( | ) | const |
Definition at line 242 of file DbiModuleList.cpp.
Referenced by llvm::pdb::SymbolCache::getNumCompilands(), llvm::pdb::DbiModuleSourceFilesIterator::operator-=(), and llvm::pdb::SymbolCache::SymbolCache().
DbiModuleDescriptor DbiModuleList::getModuleDescriptor | ( | uint32_t | Modi | ) | const |
Definition at line 254 of file DbiModuleList.cpp.
References assert().
Referenced by llvm::pdb::SymbolCache::getOrCreateCompiland().
uint32_t DbiModuleList::getSourceFileCount | ( | ) | const |
Definition at line 246 of file DbiModuleList.cpp.
Referenced by llvm::pdb::DbiModuleSourceFilesIterator::operator-(), and llvm::pdb::DbiModuleSourceFilesIterator::operator-=().
uint16_t DbiModuleList::getSourceFileCount | ( | uint32_t | Modi | ) | const |
Definition at line 250 of file DbiModuleList.cpp.
Error DbiModuleList::initialize | ( | BinaryStreamRef | ModInfo, |
BinaryStreamRef | FileInfo | ||
) |
Definition at line 163 of file DbiModuleList.cpp.
References assert(), llvm::BinaryStreamRefBase< RefType, StreamType >::getLength(), I, llvm::BinaryStreamReader::readArray(), llvm::BinaryStreamReader::readObject(), llvm::BinaryStreamReader::readStreamRef(), and llvm::Error::success().
Referenced by llvm::pdb::DbiStream::reload().
iterator_range< DbiModuleSourceFilesIterator > DbiModuleList::source_files | ( | uint32_t | Modi | ) | const |
Definition at line 263 of file DbiModuleList.cpp.
References llvm::pdb::DbiModuleSourceFilesIterator::DbiModuleSourceFilesIterator().