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-04-29 23:37:02 +00:00
2014-06-18 19:08:47 +00:00
2014-04-28 04:05:08 +00:00
2014-06-12 16:06:51 +00:00
2014-04-09 14:47:27 +00:00