This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] Simplify CompressedSection creation. NFC

Authored by MaskRay on Mar 14 2022, 2:51 PM.



Remove Expected<CompressedSection> factory functions in favor of constructors
now that zlib::compress returns void (D121512).

Diff Detail

Event Timeline

MaskRay created this revision.Mar 14 2022, 2:51 PM
MaskRay requested review of this revision.Mar 14 2022, 2:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 2:51 PM
This revision is now accepted and ready to land.Mar 14 2022, 11:06 PM
This revision was landed with ongoing or failed builds.Mar 14 2022, 11:15 PM
This revision was automatically updated to reflect the committed changes.