[MC] Thread unique_ptr<MCObjectWriter> through the create.*ObjectWriter
Audit RequiredrL315327

Description

[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.

Details

Auditors
grosbach
Committed
lhamesOct 10 2017, 9:28 AM
Parents
rL315326: [WebAssembly] Narrow the scope of WebAssemblyFixFunctionBitcasts
Branches
Unknown
Tags
Unknown