LLVM 22.0.0git
|
#include "llvm/DebugInfo/PDB/Native/InfoStream.h"
Public Member Functions | |
LLVM_ABI | InfoStream (std::unique_ptr< BinaryStream > Stream) |
LLVM_ABI Error | reload () |
LLVM_ABI uint32_t | getStreamSize () const |
const InfoStreamHeader * | getHeader () const |
LLVM_ABI bool | containsIdStream () const |
LLVM_ABI PdbRaw_ImplVer | getVersion () const |
LLVM_ABI uint32_t | getSignature () const |
LLVM_ABI uint32_t | getAge () const |
LLVM_ABI codeview::GUID | getGuid () const |
LLVM_ABI uint32_t | getNamedStreamMapByteSize () const |
LLVM_ABI PdbRaw_Features | getFeatures () const |
LLVM_ABI ArrayRef< PdbRaw_FeatureSig > | getFeatureSignatures () const |
LLVM_ABI const NamedStreamMap & | getNamedStreams () const |
LLVM_ABI BinarySubstreamRef | getNamedStreamsBuffer () const |
LLVM_ABI Expected< uint32_t > | getNamedStreamIndex (llvm::StringRef Name) const |
LLVM_ABI StringMap< uint32_t > | named_streams () const |
Friends | |
class | InfoStreamBuilder |
Definition at line 25 of file InfoStream.h.
InfoStream::InfoStream | ( | std::unique_ptr< BinaryStream > | Stream | ) |
Definition at line 20 of file InfoStream.cpp.
References llvm::move().
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.
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::codeview::GUID::Guid.
|
inline |
Definition at line 35 of file InfoStream.h.
Expected< uint32_t > InfoStream::getNamedStreamIndex | ( | llvm::StringRef | Name | ) | const |
Definition at line 86 of file InfoStream.cpp.
References llvm::make_error(), 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.
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.
Definition at line 93 of file InfoStream.cpp.
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::make_error(), 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, and llvm::pdb::VC140.
|
friend |
Definition at line 26 of file InfoStream.h.
References InfoStreamBuilder, and LLVM_ABI.
Referenced by InfoStreamBuilder.