LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
Friends | |
class | DbiStreamBuilder |
Definition at line 37 of file DbiStream.h.
|
explicit |
Definition at line 48 of file DbiStream.cpp.
References ~DbiStream().
|
default |
Referenced by DbiStream().
uint32_t DbiStream::getAge | ( | ) | const |
Definition at line 151 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::Age.
uint16_t DbiStream::getBuildMajorVersion | ( | ) | const |
Definition at line 177 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 182 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 175 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::BuildNumber.
PdbRaw_DbiVer DbiStream::getDbiVersion | ( | ) | const |
Definition at line 146 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 350 of file DbiStream.cpp.
References llvm::pdb::kInvalidStreamIndex, T, and llvm::pdb::Type.
Referenced by getECName().
Definition at line 227 of file DbiStream.cpp.
References llvm::pdb::corrupt_file, llvm::pdb::DbiSecContribV2, llvm::pdb::DbiSecContribVer60, llvm::codeview::EC, llvm::BinarySubstreamRef::empty(), llvm::pdb::feature_unsupported, llvm::pdb::PDBFile::getAllocator(), getDebugStreamIndex(), llvm::pdb::PDBFile::getMsfBuffer(), llvm::pdb::PDBFile::getMsfLayout(), llvm::pdb::PDBFile::getNumStreams(), llvm::pdb::PDBStringTable::getStringForID(), llvm::pdb::kInvalidStreamIndex, llvm::pdb::NewFPO, llvm::pdb::no_stream, llvm::codeview::Pdb, llvm::BinaryStreamReader::readArray(), llvm::BinaryStreamReader::readEnum(), llvm::pdb::SectionHdr, llvm::BinarySubstreamRef::StreamData, and llvm::Error::success().
BinarySubstreamRef DbiStream::getECSubstreamData | ( | ) | const |
BinarySubstreamRef DbiStream::getFileInfoSubstreamData | ( | ) | const |
Definition at line 327 of file DbiStream.cpp.
uint16_t DbiStream::getFlags | ( | ) | const |
Definition at line 161 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::Flags.
FixedStreamArray< object::FpoData > DbiStream::getFpoRecords | ( | ) |
Definition at line 204 of file DbiStream.cpp.
uint16_t DbiStream::getGlobalSymbolStreamIndex | ( | ) | const |
Definition at line 157 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::GlobalSymbolStreamIndex.
|
inline |
Definition at line 66 of file DbiStream.h.
References llvm::pdb::DbiSecContribVer60, and llvm::pdb::SectionContribs.
PDB_Machine DbiStream::getMachineType | ( | ) | const |
Definition at line 195 of file DbiStream.cpp.
References Machine, and llvm::pdb::DbiStreamHeader::MachineType.
BinarySubstreamRef DbiStream::getModiSubstreamData | ( | ) | const |
Definition at line 323 of file DbiStream.cpp.
uint16_t DbiStream::getPdbDllRbld | ( | ) | const |
Definition at line 187 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::PdbDllRbld.
uint32_t DbiStream::getPdbDllVersion | ( | ) | const |
Definition at line 189 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::PdbDllVersion.
uint16_t DbiStream::getPublicSymbolStreamIndex | ( | ) | const |
Definition at line 153 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::PublicSymbolStreamIndex.
BinarySubstreamRef DbiStream::getSecMapSubstreamData | ( | ) | const |
Definition at line 319 of file DbiStream.cpp.
BinarySubstreamRef DbiStream::getSectionContributionData | ( | ) | const |
Definition at line 315 of file DbiStream.cpp.
FixedStreamArray< object::coff_section > DbiStream::getSectionHeaders | ( | ) | const |
Definition at line 200 of file DbiStream.cpp.
FixedStreamArray< SecMapEntry > DbiStream::getSectionMap | ( | ) | const |
Definition at line 210 of file DbiStream.cpp.
uint32_t DbiStream::getSymRecordStreamIndex | ( | ) | const |
Definition at line 191 of file DbiStream.cpp.
References llvm::pdb::DbiStreamHeader::SymRecordStreamIndex.
BinarySubstreamRef DbiStream::getTypeServerMapSubstreamData | ( | ) | const |
Definition at line 331 of file DbiStream.cpp.
bool DbiStream::hasCTypes | ( | ) | const |
Definition at line 167 of file DbiStream.cpp.
References llvm::pdb::DbiFlags::FlagHasCTypesMask, and llvm::pdb::DbiStreamHeader::Flags.
Referenced by llvm::pdb::NativeExeSymbol::hasCTypes().
bool DbiStream::isIncrementallyLinked | ( | ) | const |
Definition at line 163 of file DbiStream.cpp.
References llvm::pdb::DbiFlags::FlagIncrementalMask, and llvm::pdb::DbiStreamHeader::Flags.
bool DbiStream::isStripped | ( | ) | const |
Definition at line 171 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 208 of file DbiStream.cpp.
Referenced by llvm::pdb::SymbolCache::getNumCompilands(), llvm::pdb::SymbolCache::getOrCreateCompiland(), and llvm::pdb::SymbolCache::SymbolCache().
Definition at line 53 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::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 214 of file DbiStream.cpp.
References assert(), llvm::pdb::DbiSecContribV2, llvm::pdb::DbiSecContribVer60, llvm::PPCISD::SC, and llvm::pdb::ISectionContribVisitor::visit().
|
friend |
Definition at line 38 of file DbiStream.h.