summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2016-04-21 22:17:39 +0000
committerAmaury Sechet <deadalnix@gmail.com>2016-04-21 22:17:39 +0000
commitd46e58d38e770b967632fe6e6c16fd4d561c7cb7 (patch)
tree97900ebf0626852de79055ea38ffddaeeb177ab3
parentd01a7a7894649284ec15e4f8c7e7933676d4969d (diff)
downloadbcm5719-llvm-d46e58d38e770b967632fe6e6c16fd4d561c7cb7.tar.gz
bcm5719-llvm-d46e58d38e770b967632fe6e6c16fd4d561c7cb7.zip
Remove dead code. NFC
llvm-svn: 267069
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp
index e927b60a447..fc5231f552b 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp
@@ -66,10 +66,6 @@ std::error_code checkOffset(MemoryBufferRef M, ArrayRef<T> AR) {
return checkOffset(M, uintptr_t(AR.data()), (uint64_t)AR.size() * sizeof(T));
}
-std::error_code checkOffset(MemoryBufferRef M, StringRef SR) {
- return checkOffset(M, uintptr_t(SR.data()), SR.size());
-}
-
uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) {
return alignTo(NumBytes, BlockSize) / BlockSize;
}
OpenPOWER on IntegriCloud