|
LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/InfoStream.h"
Public Member Functions | |
| InfoStream (std::unique_ptr< BinaryStream > Stream) | |
| Error | reload () |
| uint32_t | getStreamSize () const |
| const InfoStreamHeader * | getHeader () const |
| bool | containsIdStream () const |
| PdbRaw_ImplVer | getVersion () const |
| uint32_t | getSignature () const |
| uint32_t | getAge () const |
| codeview::GUID | getGuid () const |
| uint32_t | getNamedStreamMapByteSize () const |
| PdbRaw_Features | getFeatures () const |
| ArrayRef< PdbRaw_FeatureSig > | getFeatureSignatures () const |
| const NamedStreamMap & | getNamedStreams () const |
| BinarySubstreamRef | getNamedStreamsBuffer () const |
| Expected< uint32_t > | getNamedStreamIndex (llvm::StringRef Name) const |
| StringMap< uint32_t > | named_streams () const |
Friends | |
| class | InfoStreamBuilder |
Definition at line 29 of file InfoStream.h.
| InfoStream::InfoStream | ( | std::unique_ptr< BinaryStream > | Stream | ) |
Definition at line 23 of file InfoStream.cpp.
| bool InfoStream::containsIdStream | ( | ) | const |
Definition at line 100 of file InfoStream.cpp.
References llvm::pdb::PdbFeatureContainsIdStream.
Referenced by getHeader(), and llvm::pdb::PDBFile::hasPDBIpiStream().
| uint32_t InfoStream::getAge | ( | ) | const |
Definition at line 112 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Age.
Referenced by getHeader().
| PdbRaw_Features InfoStream::getFeatures | ( | ) | const |
Definition at line 120 of file InfoStream.cpp.
Referenced by getHeader().
| ArrayRef< PdbRaw_FeatureSig > InfoStream::getFeatureSignatures | ( | ) | const |
Definition at line 122 of file InfoStream.cpp.
Referenced by getHeader().
| GUID InfoStream::getGuid | ( | ) | const |
Definition at line 114 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Guid.
Referenced by getHeader().
|
inline |
Definition at line 39 of file InfoStream.h.
References containsIdStream(), Features, getAge(), getFeatures(), getFeatureSignatures(), getGuid(), getNamedStreamIndex(), getNamedStreamMapByteSize(), getNamedStreams(), getNamedStreamsBuffer(), getSignature(), getVersion(), Name, named_streams(), and llvm::pdb::PdbFeatureNone.
| Expected< uint32_t > InfoStream::getNamedStreamIndex | ( | llvm::StringRef | Name | ) | const |
Definition at line 89 of file InfoStream.cpp.
References llvm::pdb::NamedStreamMap::get(), and llvm::pdb::no_stream.
Referenced by getHeader().
| uint32_t InfoStream::getNamedStreamMapByteSize | ( | ) | const |
Definition at line 116 of file InfoStream.cpp.
Referenced by getHeader().
| const NamedStreamMap & InfoStream::getNamedStreams | ( | ) | const |
Definition at line 126 of file InfoStream.cpp.
Referenced by getHeader().
| BinarySubstreamRef InfoStream::getNamedStreamsBuffer | ( | ) | const |
Definition at line 130 of file InfoStream.cpp.
Referenced by getHeader().
| uint32_t InfoStream::getSignature | ( | ) | const |
Definition at line 108 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Signature.
Referenced by getHeader().
| uint32_t InfoStream::getStreamSize | ( | ) | const |
Definition at line 87 of file InfoStream.cpp.
| PdbRaw_ImplVer InfoStream::getVersion | ( | ) | const |
Definition at line 104 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Version.
Referenced by getHeader().
Definition at line 96 of file InfoStream.cpp.
References llvm::pdb::NamedStreamMap::entries().
Referenced by getHeader().
| Error InfoStream::reload | ( | ) |
Definition at line 26 of file InfoStream.cpp.
References llvm::pdb::corrupt_file, llvm::codeview::EC, llvm::BinaryStreamReader::empty(), llvm::BinaryStreamReader::getOffset(), llvm::joinErrors(), LLVM_FALLTHROUGH, llvm::pdb::NamedStreamMap::load(), llvm::pdb::MinimalDebugInfo, llvm::pdb::NoTypeMerge, llvm::pdb::PdbFeatureContainsIdStream, llvm::pdb::PdbFeatureMinimalDebugInfo, llvm::pdb::PdbFeatureNoTypeMerging, llvm::pdb::PdbImplVC110, llvm::pdb::PdbImplVC140, llvm::pdb::PdbImplVC70, llvm::pdb::PdbImplVC80, llvm::BinaryStreamReader::readEnum(), llvm::BinaryStreamReader::readObject(), llvm::BinaryStreamReader::readSubstream(), llvm::BinaryStreamReader::setOffset(), llvm::Error::success(), llvm::pdb::VC110, llvm::pdb::VC140, and llvm::pdb::InfoStreamHeader::Version.
|
friend |
Definition at line 30 of file InfoStream.h.
1.8.13