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.
Test plan: make check-all
Differential D88372
[Object][MachO] Refactor MachOUniversalWriter alexander-shaposhnikov on Sep 26 2020, 11:09 PM. Authored by
Details This diff refactors writeUniversalBinary and adds writeUniversalBinaryToBuffer. Test plan: make check-all
Diff Detail
Event TimelineComment Actions LGTM. It may be good to have the dependent patch posted to demonstrate the refactoring. |