|
LLVM
5.0.0
|
#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 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 llvm::pdb::NativeEnumModules::getChildAtIndex(), llvm::pdb::NativeEnumModules::getChildCount(), getModuleDescriptor(), and llvm::pdb::NativeEnumModules::getNext().
| DbiModuleDescriptor DbiModuleList::getModuleDescriptor | ( | uint32_t | Modi | ) | const |
Definition at line 254 of file DbiModuleList.cpp.
References assert(), and getModuleCount().
Referenced by llvm::pdb::NativeEnumModules::getChildAtIndex().
| uint32_t DbiModuleList::getSourceFileCount | ( | ) | const |
Definition at line 246 of file DbiModuleList.cpp.
References llvm::FixedStreamArray< T >::size().
Referenced by getFileName(), 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 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.
1.8.6