diff options
author | Lang Hames <lhames@gmail.com> | 2017-10-09 23:53:15 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2017-10-09 23:53:15 +0000 |
commit | dcb312bdb9616c19f1e58afc9d06b49f81f648e8 (patch) | |
tree | de7480f6ee4c774a8e93f1d0bad5a229ebd33b63 /clang/lib/Index | |
parent | e0f1541f41625124926b951b88b70c5d9429c54b (diff) | |
download | bcm5719-llvm-dcb312bdb9616c19f1e58afc9d06b49f81f648e8.tar.gz bcm5719-llvm-dcb312bdb9616c19f1e58afc9d06b49f81f648e8.zip |
[MC] Plumb unique_ptr<MCELFObjectTargetWriter> through createELFObjectWriter to
ELFObjectWriter's constructor.
Fixes the same ownership issue for ELF that r315245 did for MachO:
ELFObjectWriter takes ownership of its MCELFObjectTargetWriter, so we want to
pass this through to the constructor via a unique_ptr, rather than a raw ptr.
llvm-svn: 315254
Diffstat (limited to 'clang/lib/Index')
0 files changed, 0 insertions, 0 deletions