diff options
author | Lang Hames <lhames@gmail.com> | 2017-10-10 01:15:10 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2017-10-10 01:15:10 +0000 |
commit | 1301a878f133e95e0a70264d17182ffe62cecca3 (patch) | |
tree | 8761802eef19e595246b213aae4e4c15e09fea12 /llvm/lib/MC/MCParser/COFFAsmParser.cpp | |
parent | ab23dace567394515566c13d44dc85acc249651a (diff) | |
download | bcm5719-llvm-1301a878f133e95e0a70264d17182ffe62cecca3.tar.gz bcm5719-llvm-1301a878f133e95e0a70264d17182ffe62cecca3.zip |
[MC] Plumb unique_ptr<MCWasmObjectTargetWriter> through createWasmObjectWriter
to WasmObjectWriter's constructor.
Fixes the same ownership issue for COFF that r315245 did for MachO:
WasmObjectWriter takes ownership of its MCWasmObjectTargetWriter, so we want to
pass this through to the constructor via a unique_ptr, rather than a raw ptr.
llvm-svn: 315260
Diffstat (limited to 'llvm/lib/MC/MCParser/COFFAsmParser.cpp')
0 files changed, 0 insertions, 0 deletions