commit | 0d50598d71c5cc81c0e777a0ddf3e692e634f565 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jun 24 13:56:32 2014 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jun 24 13:56:32 2014 +0000 |
tree | b179b244b88112d4c4c3959c85eff70ad202c543 | |
parent | d3aaad2d266afb80bb4be2815d45b4300e3f0c0f [diff] |
Pass a unique_ptr<MemoryBuffer> to the constructors in the Binary hierarchy. Once the objects are constructed, they own the buffer. Passing a unique_ptr makes that clear. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211595 91177308-0d34-0410-b5e6-96231b3b80d8