Lines Matching refs:Header
83 : Pdb(File), Stream(std::move(Stream)), Header(nullptr) {
94 "DBI Stream does not contain a header.");
95 if (auto EC = Reader.readObject(Header))
97 "DBI Stream does not contain a header.");
99 if (Header->VersionSignature != -1)
106 if (Header->VersionHeader < PdbDbiV70)
114 if (Header->Age != IS->getAge())
119 sizeof(HeaderInfo) + Header->ModiSubstreamSize +
120 Header->SecContrSubstreamSize + Header->SectionMapSize +
121 Header->FileInfoSize + Header->TypeServerSize +
122 Header->OptionalDbgHdrSize + Header->ECSubstreamSize)
128 if (Header->ModiSubstreamSize % sizeof(uint32_t) != 0)
131 if (Header->SecContrSubstreamSize % sizeof(uint32_t) != 0)
135 if (Header->SectionMapSize % sizeof(uint32_t) != 0)
138 if (Header->FileInfoSize % sizeof(uint32_t) != 0)
141 if (Header->TypeServerSize % sizeof(uint32_t) != 0)
148 if (auto EC = Reader.readArray(ModInfoArray, Header->ModiSubstreamSize))
155 Header->SecContrSubstreamSize))
157 if (auto EC = Reader.readStreamRef(SecMapSubstream, Header->SectionMapSize))
159 if (auto EC = Reader.readStreamRef(FileInfoSubstream, Header->FileInfoSize))
162 Reader.readStreamRef(TypeServerMapSubstream, Header->TypeServerSize))
164 if (auto EC = Reader.readStreamRef(ECSubstream, Header->ECSubstreamSize))
166 if (auto EC = Reader.readArray(DbgStreams, Header->OptionalDbgHdrSize /
193 uint32_t Value = Header->VersionHeader;
197 uint32_t DbiStream::getAge() const { return Header->Age; }
200 return Header->PublicSymbolStreamIndex;
204 return Header->GlobalSymbolStreamIndex;
207 uint16_t DbiStream::getFlags() const { return Header->Flags; }
210 return (Header->Flags & FlagIncrementalMask) != 0;
214 return (Header->Flags & FlagHasCTypesMask) != 0;
218 return (Header->Flags & FlagStrippedMask) != 0;
221 uint16_t DbiStream::getBuildNumber() const { return Header->BuildNumber; }
224 return (Header->BuildNumber & BuildMajorMask) >> BuildMajorShift;
228 return (Header->BuildNumber & BuildMinorMask) >> BuildMinorShift;
231 uint16_t DbiStream::getPdbDllRbld() const { return Header->PdbDllRbld; }
233 uint32_t DbiStream::getPdbDllVersion() const { return Header->PdbDllVersion; }
236 return Header->SymRecordStreamIndex;
240 uint16_t Machine = Header->MachineType;
296 "Corrupted section header stream.");
339 const SecMapHeader *Header;
340 if (auto EC = SMReader.readObject(Header))
342 if (auto EC = SMReader.readArray(SectionMap, Header->SecCount))