diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-22 19:43:28 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-22 19:43:28 +0000 | 
| commit | b5630dbadf9a2a06754194387d6b0fd9962a67f1 (patch) | |
| tree | 3fe1e2bc0dc2823ab21f06959fbb3eaca317ea29 /lib/Object/Decompressor.cpp | |
| parent | 7af96fb3afd6725a2824a0a5ca5dad34e5e0b056 (diff) | |
Notes
Diffstat (limited to 'lib/Object/Decompressor.cpp')
| -rw-r--r-- | lib/Object/Decompressor.cpp | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/lib/Object/Decompressor.cpp b/lib/Object/Decompressor.cpp index 0be602b1fc1a..89d199a3f3f6 100644 --- a/lib/Object/Decompressor.cpp +++ b/lib/Object/Decompressor.cpp @@ -88,11 +88,6 @@ bool Decompressor::isCompressedELFSection(uint64_t Flags, StringRef Name) {    return (Flags & ELF::SHF_COMPRESSED) || isGnuStyle(Name);  } -Error Decompressor::decompress(SmallString<32> &Out) { -  Out.resize(DecompressedSize); -  return decompress({Out.data(), (size_t)DecompressedSize}); -} -  Error Decompressor::decompress(MutableArrayRef<char> Buffer) {    size_t Size = Buffer.size();    return zlib::uncompress(SectionData, Buffer.data(), Size); | 
