LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
Friends | |
class | DbiStreamBuilder |
Definition at line 39 of file DbiStream.h.
|
explicit |
Definition at line 45 of file DbiStream.cpp.
|
default |
uint32_t DbiStream::getAge | ( | ) | const |
Definition at line 150 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::Age.
uint16_t DbiStream::getBuildMajorVersion | ( | ) | const |
Definition at line 176 of file DbiStream.cpp.
References llvm::pdb::DbiBuildNo::BuildMajorMask, llvm::pdb::DbiBuildNo::BuildMajorShift, and llvm::pdb::DbiStreamHeader::BuildNumber.
uint16_t DbiStream::getBuildMinorVersion | ( | ) | const |
Definition at line 181 of file DbiStream.cpp.
References llvm::pdb::DbiBuildNo::BuildMinorMask, llvm::pdb::DbiBuildNo::BuildMinorShift, and llvm::pdb::DbiStreamHeader::BuildNumber.
uint16_t DbiStream::getBuildNumber | ( | ) | const |
Definition at line 174 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::BuildNumber.
PdbRaw_DbiVer DbiStream::getDbiVersion | ( | ) | const |
Definition at line 145 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::VersionHeader.
uint32_t DbiStream::getDebugStreamIndex | ( | DbgHeaderType | Type | ) | const |
If the given stream type is present, returns its stream index.
If it is not present, returns InvalidStreamIndex.
Definition at line 376 of file DbiStream.cpp.
References llvm::pdb::kInvalidStreamIndex, and llvm::pdb::Type.
Definition at line 234 of file DbiStream.cpp.
References llvm::pdb::PDBStringTable::getStringForID().
BinarySubstreamRef DbiStream::getECSubstreamData | ( | ) | const |
Definition at line 361 of file DbiStream.cpp.
BinarySubstreamRef DbiStream::getFileInfoSubstreamData | ( | ) | const |
Definition at line 353 of file DbiStream.cpp.
uint16_t DbiStream::getFlags | ( | ) | const |
Definition at line 160 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::Flags.
uint16_t DbiStream::getGlobalSymbolStreamIndex | ( | ) | const |
Definition at line 156 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::GlobalSymbolStreamIndex.
|
inline |
Definition at line 68 of file DbiStream.h.
PDB_Machine DbiStream::getMachineType | ( | ) | const |
Definition at line 194 of file DbiStream.cpp.
References Machine, and llvm::pdb::DbiStreamHeader::MachineType.
BinarySubstreamRef DbiStream::getModiSubstreamData | ( | ) | const |
Definition at line 349 of file DbiStream.cpp.
const DebugFrameDataSubsectionRef & DbiStream::getNewFpoRecords | ( | ) | const |
Definition at line 211 of file DbiStream.cpp.
FixedStreamArray< object::FpoData > DbiStream::getOldFpoRecords | ( | ) | const |
Definition at line 205 of file DbiStream.cpp.
uint16_t DbiStream::getPdbDllRbld | ( | ) | const |
Definition at line 186 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::PdbDllRbld.
uint32_t DbiStream::getPdbDllVersion | ( | ) | const |
Definition at line 188 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::PdbDllVersion.
uint16_t DbiStream::getPublicSymbolStreamIndex | ( | ) | const |
Definition at line 152 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::PublicSymbolStreamIndex.
BinarySubstreamRef DbiStream::getSecMapSubstreamData | ( | ) | const |
Definition at line 345 of file DbiStream.cpp.
BinarySubstreamRef DbiStream::getSectionContributionData | ( | ) | const |
Definition at line 341 of file DbiStream.cpp.
FixedStreamArray< object::coff_section > DbiStream::getSectionHeaders | ( | ) | const |
Definition at line 199 of file DbiStream.cpp.
FixedStreamArray< SecMapEntry > DbiStream::getSectionMap | ( | ) | const |
Definition at line 217 of file DbiStream.cpp.
uint32_t DbiStream::getSymRecordStreamIndex | ( | ) | const |
Definition at line 190 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::SymRecordStreamIndex.
BinarySubstreamRef DbiStream::getTypeServerMapSubstreamData | ( | ) | const |
Definition at line 357 of file DbiStream.cpp.
bool DbiStream::hasCTypes | ( | ) | const |
Definition at line 166 of file DbiStream.cpp.
References llvm::pdb::DbiFlags::FlagHasCTypesMask, and llvm::pdb::DbiStreamHeader::Flags.
Referenced by llvm::pdb::NativeExeSymbol::hasCTypes().
bool DbiStream::hasNewFpoRecords | ( | ) | const |
Definition at line 209 of file DbiStream.cpp.
bool DbiStream::hasOldFpoRecords | ( | ) | const |
Definition at line 203 of file DbiStream.cpp.
bool DbiStream::isIncrementallyLinked | ( | ) | const |
Definition at line 162 of file DbiStream.cpp.
References llvm::pdb::DbiFlags::FlagIncrementalMask, and llvm::pdb::DbiStreamHeader::Flags.
bool DbiStream::isStripped | ( | ) | const |
Definition at line 170 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::Flags, and llvm::pdb::DbiFlags::FlagStrippedMask.
Referenced by llvm::pdb::NativeExeSymbol::hasPrivateSymbols().
const DbiModuleList & DbiStream::modules | ( | ) | const |
Definition at line 215 of file DbiStream.cpp.
Referenced by llvm::pdb::getModuleDebugStream(), llvm::pdb::SymbolCache::getNumCompilands(), llvm::pdb::SymbolCache::getOrCreateCompiland(), and llvm::pdb::SymbolCache::SymbolCache().
Definition at line 50 of file DbiStream.cpp.
References llvm::BinaryStreamReader::bytesRemaining(), llvm::pdb::corrupt_file, llvm::codeview::EC, llvm::pdb::DbiStreamHeader::ECSubstreamSize, llvm::BinarySubstreamRef::empty(), llvm::pdb::feature_unsupported, llvm::pdb::DbiStreamHeader::FileInfoSize, llvm::pdb::DbiModuleList::initialize(), llvm::pdb::DbiStreamHeader::ModiSubstreamSize, llvm::pdb::DbiStreamHeader::OptionalDbgHdrSize, llvm::codeview::Pdb, llvm::pdb::PdbDbiV70, llvm::BinaryStreamReader::readArray(), llvm::BinaryStreamReader::readObject(), llvm::BinaryStreamReader::readSubstream(), llvm::pdb::PDBStringTable::reload(), llvm::pdb::DbiStreamHeader::SecContrSubstreamSize, llvm::pdb::DbiStreamHeader::SectionMapSize, llvm::BinarySubstreamRef::StreamData, llvm::Error::success(), llvm::pdb::DbiStreamHeader::TypeServerSize, llvm::pdb::DbiStreamHeader::VersionHeader, and llvm::pdb::DbiStreamHeader::VersionSignature.
void DbiStream::visitSectionContributions | ( | ISectionContribVisitor & | Visitor | ) | const |
Definition at line 221 of file DbiStream.cpp.
References assert(), llvm::pdb::DbiSecContribV2, llvm::pdb::DbiSecContribVer60, and llvm::pdb::ISectionContribVisitor::visit().
|
friend |
Definition at line 40 of file DbiStream.h.