Add a lower level zlib::uncompress.

SmallVectors are convenient, but they don't cover every use case.

In particular, they are fairly large (3 pointers + one element) and
there is no way to take ownership of the buffer to put it somewhere
else.  This patch then adds a lower lever interface that works with
any buffer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281082 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed