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
Paths
| Differential D88372
[Object][MachO] Refactor MachOUniversalWriter ClosedPublic Authored by alexander-shaposhnikov on Sep 26 2020, 11:09 PM.
Details Summary This diff refactors writeUniversalBinary and adds writeUniversalBinaryToBuffer. Test plan: make check-all
Diff Detail
Event Timelinealexander-shaposhnikov created this object with visibility "All Users". Comment Actions LGTM. It may be good to have the dependent patch posted to demonstrate the refactoring. This revision is now accepted and ready to land.Sep 27 2020, 1:36 PM alexander-shaposhnikov added a child revision: Restricted Differential Revision.Sep 28 2020, 3:43 AM Closed by commit rGd20c602aad7c: [Object][MachO] Refactor MachOUniversalWriter (authored by alexander-shaposhnikov). · Explain WhyOct 3 2020, 2:34 PM This revision was automatically updated to reflect the committed changes. alexander-shaposhnikov changed the visibility from "All Users" to "Public (No Login Required)".Oct 6 2020, 11:54 PM
Revision Contents
Diff 296006 llvm/include/llvm/Object/MachOUniversalWriter.h
llvm/lib/Object/MachOUniversalWriter.cpp
|