LLVM 20.0.0git
|
#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 24 of file InfoStream.h.
InfoStream::InfoStream | ( | std::unique_ptr< BinaryStream > | Stream | ) |
Definition at line 20 of file InfoStream.cpp.
bool InfoStream::containsIdStream | ( | ) | const |
Definition at line 97 of file InfoStream.cpp.
References llvm::pdb::PdbFeatureContainsIdStream.
Referenced by llvm::pdb::PDBFile::hasPDBIpiStream().
uint32_t InfoStream::getAge | ( | ) | const |
Definition at line 109 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Age.
PdbRaw_Features InfoStream::getFeatures | ( | ) | const |
Definition at line 117 of file InfoStream.cpp.
ArrayRef< PdbRaw_FeatureSig > InfoStream::getFeatureSignatures | ( | ) | const |
Definition at line 119 of file InfoStream.cpp.
GUID InfoStream::getGuid | ( | ) | const |
Definition at line 111 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Guid.
|
inline |
Definition at line 34 of file InfoStream.h.
Expected< uint32_t > InfoStream::getNamedStreamIndex | ( | llvm::StringRef | Name | ) | const |
Definition at line 86 of file InfoStream.cpp.
References llvm::pdb::NamedStreamMap::get(), Name, and llvm::pdb::no_stream.
uint32_t InfoStream::getNamedStreamMapByteSize | ( | ) | const |
Definition at line 113 of file InfoStream.cpp.
const NamedStreamMap & InfoStream::getNamedStreams | ( | ) | const |
Definition at line 123 of file InfoStream.cpp.
BinarySubstreamRef InfoStream::getNamedStreamsBuffer | ( | ) | const |
Definition at line 127 of file InfoStream.cpp.
uint32_t InfoStream::getSignature | ( | ) | const |
Definition at line 105 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Signature.
uint32_t InfoStream::getStreamSize | ( | ) | const |
Definition at line 84 of file InfoStream.cpp.
PdbRaw_ImplVer InfoStream::getVersion | ( | ) | const |
Definition at line 101 of file InfoStream.cpp.
References llvm::pdb::InfoStreamHeader::Version.
Definition at line 93 of file InfoStream.cpp.
References llvm::pdb::NamedStreamMap::entries().
Error InfoStream::reload | ( | ) |
Definition at line 23 of file InfoStream.cpp.
References llvm::pdb::corrupt_file, llvm::codeview::EC, llvm::BinaryStreamReader::empty(), llvm::BinaryStreamReader::getOffset(), llvm::joinErrors(), llvm::pdb::NamedStreamMap::load(), llvm::pdb::MinimalDebugInfo, llvm::pdb::NoTypeMerge, llvm::pdb::Offset, 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 25 of file InfoStream.h.