Remove unused function.

llvm-svn: 328802
This commit is contained in:
Zachary Turner 2018-03-29 16:46:47 +00:00
parent c9643d8fc8
commit db0f2f68b0
1 changed files with 0 additions and 8 deletions

View File

@ -143,15 +143,7 @@ void ExplainOutputStyle::explainFpmBlockOffset() {
DescribedBlockStart, DescribedBlockStart + 8);
}
static bool offsetIsInBlock(const PDBFile &File, uint64_t Offset,
uint32_t Block) {
uint64_t BlockOffset = uint64_t(Block) * File.getBlockSize();
uint64_t BlockOffset1 = BlockOffset + File.getBlockSize();
return (Offset >= BlockOffset && Offset < BlockOffset1);
}
void ExplainOutputStyle::explainBlockMapOffset() {
assert(offsetIsInBlock(File, FileOffset, File.getBlockMapIndex()));
uint64_t BlockMapOffset = File.getBlockMapOffset();
uint32_t OffsetInBlock = FileOffset - BlockMapOffset;
P.formatLine("Address is at offset {0} of the directory block list",