summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Compression.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Compression.h')
-rw-r--r--include/llvm/Support/Compression.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Compression.h b/include/llvm/Support/Compression.h
index 80eff5c628..2629809286 100644
--- a/include/llvm/Support/Compression.h
+++ b/include/llvm/Support/Compression.h
@@ -16,6 +16,7 @@
#include "llvm/Support/DataTypes.h"
#include <memory>
+#include "llvm/ADT/SmallVector.h"
namespace llvm {
@@ -47,7 +48,7 @@ Status compress(StringRef InputBuffer,
CompressionLevel Level = DefaultCompression);
Status uncompress(StringRef InputBuffer,
- std::unique_ptr<MemoryBuffer> &UncompressedBuffer,
+ SmallVectorImpl<char> &UncompressedBuffer,
size_t UncompressedSize);
uint32_t crc32(StringRef Buffer);