[PATCH] D66408: [llvm-objcopy][MachO] Implement --dump-section
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 12:45:46 PDT 2019
rupprecht accepted this revision.
rupprecht added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp:110-111
+ std::unique_ptr<FileOutputBuffer> Buf = std::move(*BufferOrErr);
+ std::copy(Sec.Content.begin(), Sec.Content.end(),
+ Buf->getBufferStart());
+ if (Error E = Buf->commit())
----------------
`llvm::copy(Sec.Content, Buf->getBufferStart())`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66408/new/
https://reviews.llvm.org/D66408
More information about the llvm-commits
mailing list