commit | 806f68bbab5118c0252fdeaf1d84fc17ba9dae5c | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Wed Oct 11 23:34:47 2017 +0000 |
committer | Lang Hames <lhames@gmail.com> | Wed Oct 11 23:34:47 2017 +0000 |
tree | 0b21d2104360bf513e4c2b374c4c321cd8be6ffa | |
parent | dc62a47c34a9bc82054e4e221c10c4592c89eea3 [diff] |
[MC] Have MCObjectStreamer take its MCAsmBackend argument via unique_ptr. MCObjectStreamer owns its MCCodeEmitter -- this fixes the types to reflect that, and allows us to remove the last instance of MCObjectStreamer's weird "holding ownership via someone else's reference" trick. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315531 91177308-0d34-0410-b5e6-96231b3b80d8