llvm.org GIT mirror llvm / 5be0416
Remove unused function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328802 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 1 year, 5 months ago
1 changed file(s) with 0 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
142142 DescribedBlockStart, DescribedBlockStart + 8);
143143 }
144144
145 static bool offsetIsInBlock(const PDBFile &File, uint64_t Offset,
146 uint32_t Block) {
147 uint64_t BlockOffset = uint64_t(Block) * File.getBlockSize();
148 uint64_t BlockOffset1 = BlockOffset + File.getBlockSize();
149 return (Offset >= BlockOffset && Offset < BlockOffset1);
150 }
151
152145 void ExplainOutputStyle::explainBlockMapOffset() {
153 assert(offsetIsInBlock(File, FileOffset, File.getBlockMapIndex()));
154146 uint64_t BlockMapOffset = File.getBlockMapOffset();
155147 uint32_t OffsetInBlock = FileOffset - BlockMapOffset;
156148 P.formatLine("Address is at offset {0} of the directory block list",