Lines Matching refs:pdb
32 using namespace llvm::pdb;
94 return FileOffset / File.pdb().getBlockSize(); in pdbBlockIndex()
98 uint64_t BlockStart = pdbBlockIndex() * File.pdb().getBlockSize(); in pdbBlockOffset()
108 return ((pdbBlockIndex() - 1) % File.pdb().getBlockSize() == 0); in isPdbFpm1()
111 return ((pdbBlockIndex() - 2) % File.pdb().getBlockSize() == 0); in isPdbFpm2()
119 return pdbBlockIndex() == File.pdb().getBlockMapIndex(); in isPdbBlockMapBlock()
123 const auto &Layout = File.pdb().getMsfLayout(); in isPdbStreamDirectoryBlock()
128 const auto &Layout = File.pdb().getMsfLayout(); in getPdbBlockStreamIndex()
138 if (FileOffset >= File.pdb().getFileSize()) { in explainPdbBlockStatus()
140 FileOffset, File.pdb().getFileSize()); in explainPdbBlockStatus()
146 bool IsFree = File.pdb().getMsfLayout().FreePageMap[pdbBlockIndex()]; in explainPdbBlockStatus()
162 uint32_t(File.pdb().getMsfLayout().SB->BlockSize)); in explainPdbSuperBlockOffset()
166 uint32_t(File.pdb().getMsfLayout().SB->FreeBlockMapBlock)); in explainPdbSuperBlockOffset()
170 uint32_t(File.pdb().getMsfLayout().SB->NumBlocks)); in explainPdbSuperBlockOffset()
174 uint32_t(File.pdb().getMsfLayout().SB->NumDirectoryBytes)); in explainPdbSuperBlockOffset()
178 uint32_t(File.pdb().getMsfLayout().SB->Unknown1)); in explainPdbSuperBlockOffset()
182 uint32_t(File.pdb().getMsfLayout().SB->BlockMapAddr)); in explainPdbSuperBlockOffset()
201 const MSFLayout &Layout = File.pdb().getMsfLayout(); in explainPdbFpmBlockOffset()
207 uint32_t FpmChunk = pdbBlockIndex() / File.pdb().getBlockSize(); in explainPdbFpmBlockOffset()
213 8 * (FpmChunk * File.pdb().getBlockSize() + pdbBlockOffset()); in explainPdbFpmBlockOffset()
214 if (DescribedBlockStart > File.pdb().getBlockCount()) { in explainPdbFpmBlockOffset()
222 cantFail(File.pdb().getMsfBuffer().readBytes(FileOffset, 1, Bytes)); in explainPdbFpmBlockOffset()
228 uint64_t BlockMapOffset = File.pdb().getBlockMapOffset(); in explainPdbBlockMapOffset()
247 discoverStreamPurposes(File.pdb(), Streams); in explainPdbStreamOffset()
251 const auto &Layout = File.pdb().getStreamLayout(Stream); in explainPdbStreamOffset()
253 getOffsetInStream(Layout.Blocks, FileOffset, File.pdb().getBlockSize()); in explainPdbStreamOffset()
259 DbiStream &Dbi = cantFail(File.pdb().getPDBDbiStream()); in explainPdbStreamOffset()
264 InfoStream &Info = cantFail(File.pdb().getPDBInfoStream()); in explainPdbStreamOffset()
278 auto DirectoryBlocks = File.pdb().getDirectoryBlockArray(); in explainPdbStreamDirectoryOffset()
279 const auto &Layout = File.pdb().getMsfLayout(); in explainPdbStreamDirectoryOffset()
281 getOffsetInStream(DirectoryBlocks, FileOffset, File.pdb().getBlockSize()); in explainPdbStreamDirectoryOffset()