commit | d87d83db74d0beb0f6796766e2c1fd6e1322570b | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Fri Sep 09 19:32:36 2016 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri Sep 09 19:32:36 2016 +0000 |
tree | 159b5a46a3bcb43c504f9b062b62b66914a080d4 | |
parent | 8dae05acf4afc283e7263e6a5a79a563024f9c05 [diff] |
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