[PATCH] D88372: [Object][MachO] Refactor MachOUniversalWriter

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 26 23:09:11 PDT 2020


alexshap created this revision.
alexshap added reviewers: smeenai, MaskRay, jhenderson.
alexshap created this object with visibility "All Users".
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
alexshap requested review of this revision.

This diff refactors writeUniversalBinary and adds writeUniversalBinaryToBuffer.
This is a preparation for adding support for universal binaries to llvm-objcopy.
The idea behind this diff is similar to D84858 <https://reviews.llvm.org/D84858>.

Test plan: make check-all


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88372

Files:
  llvm/include/llvm/Object/MachOUniversalWriter.h
  llvm/lib/Object/MachOUniversalWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88372.294537.patch
Type: text/x-patch
Size: 5256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200927/f75bce7e/attachment.bin>


More information about the llvm-commits mailing list