diff options
author | Zachary Turner <zturner@google.com> | 2018-03-29 16:46:47 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-03-29 16:46:47 +0000 |
commit | db0f2f68b0651bd206aa36976b0760efb1410597 (patch) | |
tree | 879f8299ab9e02c1d2e5bb3b90ffd85e701ddc17 /llvm | |
parent | c9643d8fc854555ad5711de84bcbfe91ed7ad256 (diff) | |
download | bcm5719-llvm-db0f2f68b0651bd206aa36976b0760efb1410597.tar.gz bcm5719-llvm-db0f2f68b0651bd206aa36976b0760efb1410597.zip |
Remove unused function.
llvm-svn: 328802
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp b/llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp index 1947c93d981..48e8e1ee374 100644 --- a/llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp +++ b/llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp @@ -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", |