Skip to content
Commit 9b206a7d authored by Lang Hames's avatar Lang Hames
Browse files

[MC] Plumb unique_ptr<MCMachObjectTargetWriter> through createMachObjectWriter

to MCObjectWriter's constructor.

MCObjectWriter takes ownership of its MCMachObjectTargetWriter argument -- this
patch plumbs that ownership relationship through the constructor (which
previously took raw MCMachObjectTargetWriter*) and the createMachObjectWriter
function.

llvm-svn: 315245
parent d3b670e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment