commit | e471346b606185e3a6f165ad5d5644e01594efb8 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Tue Oct 10 16:28:07 2017 +0000 |
committer | Lang Hames <lhames@gmail.com> | Tue Oct 10 16:28:07 2017 +0000 |
tree | c1efe55b28a27eae133f4e106c81effaa091d6dc | |
parent | 8e46b87a2e8298eb654965380834ccdef94ec48c [diff] |
[MC] Thread unique_ptr<MCObjectWriter> through the create.*ObjectWriter functions. This makes the ownership of the resulting MCObjectWriter clear, and allows us to remove one instance of MCObjectStreamer's bizarre "holding ownership via someone else's reference" trick. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315327 91177308-0d34-0410-b5e6-96231b3b80d8