Rafael Espindola 1f659329b6 Make ObjectFile and BitcodeReader always own the MemoryBuffer.
This allows us to just use a std::unique_ptr to store the pointer to the buffer.
The flip side is that they have to support releasing the buffer back to the
caller.

Overall this looks like a more efficient and less brittle api.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211542 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-23 21:53:12 +00:00
..
2014-06-20 01:37:35 +00:00
2014-04-28 04:05:08 +00:00
2014-05-08 19:30:17 +00:00
2014-06-13 15:36:17 +00:00
2014-06-13 16:12:08 +00:00
2014-06-12 17:38:55 +00:00
2014-03-14 04:04:14 +00:00