|
LLVM
4.0.0
|
#include <ModStream.h>
Public Member Functions | |
| ModStream (const ModInfo &Module, std::unique_ptr< msf::MappedBlockStream > Stream) | |
| ~ModStream () | |
| Error | reload () |
| uint32_t | signature () const |
| iterator_range < codeview::CVSymbolArray::Iterator > | symbols (bool *HadError) const |
| iterator_range < codeview::ModuleSubstreamArray::Iterator > | lines (bool *HadError) const |
| Error | commit () |
Definition at line 27 of file ModStream.h.
| ModStream::ModStream | ( | const ModInfo & | Module, |
| std::unique_ptr< msf::MappedBlockStream > | Stream | ||
| ) |
Definition at line 27 of file ModStream.cpp.
|
default |
| Error ModStream::commit | ( | ) |
Definition at line 85 of file ModStream.cpp.
References llvm::Error::success().
| iterator_range< codeview::ModuleSubstreamArray::Iterator > ModStream::lines | ( | bool * | HadError | ) | const |
Definition at line 81 of file ModStream.cpp.
References llvm::msf::VarStreamArray< ValueType, Extractor >::begin(), llvm::msf::VarStreamArray< ValueType, Extractor >::end(), and llvm::make_range().
| Error ModStream::reload | ( | ) |
Definition at line 33 of file ModStream.cpp.
References llvm::msf::StreamReader::bytesRemaining(), llvm::pdb::corrupt_file, llvm::pdb::ModInfo::getC13LineInfoByteSize(), llvm::pdb::ModInfo::getLineInfoByteSize(), llvm::pdb::ModInfo::getSymbolDebugInfoByteSize(), llvm::msf::StreamReader::readArray(), llvm::msf::StreamReader::readInteger(), llvm::msf::StreamReader::readStreamRef(), and llvm::Error::success().
|
inline |
Definition at line 35 of file ModStream.h.
| iterator_range< codeview::CVSymbolArray::Iterator > ModStream::symbols | ( | bool * | HadError | ) | const |
Definition at line 73 of file ModStream.cpp.
References llvm::msf::VarStreamArray< ValueType, Extractor >::begin(), llvm::msf::VarStreamArray< ValueType, Extractor >::end(), llvm::msf::StreamRefBase< StreamType, RefType >::getLength(), llvm::msf::VarStreamArray< ValueType, Extractor >::getUnderlyingStream(), and llvm::make_range().
1.8.6