aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-14 16:03:29 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-14 16:03:29 +0000
commitef7aefc53bf24214f489bf9e4100bcff45f7b12a (patch)
treec0cea3f882e2a1f4f1d084b69adcd66ab1a5addc /include
parent14a5c695a9a4dc773cfc37c0c4a847e0160e5396 (diff)
downloadexternal_llvm-ef7aefc53bf24214f489bf9e4100bcff45f7b12a.zip
external_llvm-ef7aefc53bf24214f489bf9e4100bcff45f7b12a.tar.gz
external_llvm-ef7aefc53bf24214f489bf9e4100bcff45f7b12a.tar.bz2
Expose CRC-32 implementation from zlib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Compression.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/Compression.h b/include/llvm/Support/Compression.h
index 9b1142d..bef9146 100644
--- a/include/llvm/Support/Compression.h
+++ b/include/llvm/Support/Compression.h
@@ -50,6 +50,8 @@ Status uncompress(StringRef InputBuffer,
OwningPtr<MemoryBuffer> &UncompressedBuffer,
size_t UncompressedSize);
+uint32_t crc32(StringRef Buffer);
+
} // End of namespace zlib
} // End of namespace llvm