[PATCH] D121644: [llvm-objcopy] Simplify CompressedSection creation. NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 14:51:47 PDT 2022


MaskRay created this revision.
MaskRay added a reviewer: jhenderson.
Herald added subscribers: abrachet, hiraditya, emaste.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121644

Files:
  llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
  llvm/lib/ObjCopy/ELF/ELFObject.cpp
  llvm/lib/ObjCopy/ELF/ELFObject.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121644.415239.patch
Type: text/x-patch
Size: 4182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220314/69448622/attachment.bin>


More information about the llvm-commits mailing list