diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-03-25 15:22:27 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-03-25 15:22:27 +0000 |
commit | fc8110041f55483631b9e6f11ea105d41708a512 (patch) | |
tree | 40efa02077c3ed0914bd2691471af64bcc659237 /llvm/lib/Support/StreamingMemoryObject.cpp | |
parent | fdbf0a5af805b764927bd8b38da89ddffc67f531 (diff) | |
download | bcm5719-llvm-fc8110041f55483631b9e6f11ea105d41708a512.tar.gz bcm5719-llvm-fc8110041f55483631b9e6f11ea105d41708a512.zip |
Revert "Bitcode: Collect all MDString records into a single blob"
This reverts commit r264409 since it failed to bootstrap:
http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_build/8302/
llvm-svn: 264410
Diffstat (limited to 'llvm/lib/Support/StreamingMemoryObject.cpp')
-rw-r--r-- | llvm/lib/Support/StreamingMemoryObject.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Support/StreamingMemoryObject.cpp b/llvm/lib/Support/StreamingMemoryObject.cpp index fb566179486..5a44e624eb8 100644 --- a/llvm/lib/Support/StreamingMemoryObject.cpp +++ b/llvm/lib/Support/StreamingMemoryObject.cpp @@ -104,12 +104,6 @@ uint64_t StreamingMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, return Size; } -const uint8_t *StreamingMemoryObject::getPointer(uint64_t Address, - uint64_t Size) const { - fetchToPos(Address + Size - 1); - return &Bytes[Address + BytesSkipped]; -} - bool StreamingMemoryObject::dropLeadingBytes(size_t s) { if (BytesRead < s) return true; BytesSkipped = s; |