commit | 7a6e3434ba2995d21851436b4338178f27365c24 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 14 22:18:43 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 14 22:18:43 2015 +0000 |
tree | 5dd486e0c15595adb85da598713a2ad7a0e77778 | |
parent | d0838f887a929c2c98f85ad874cfda20d60d47e2 [diff] |
Add support for reading members out of thin archives. For now the Archive owns the buffers of the thin archive members. This makes for a simple API, but all the buffers are destructed only when the archive is destructed. This should be fine since we close the files after mmap so we should not hit an open file limit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242215 91177308-0d34-0410-b5e6-96231b3b80d8