[all-commits] [llvm/llvm-project] cce352: [llvm-objcopy] Simplify CompressedSection creation...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Mar 14 23:15:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cce3521020011b65b703549850d57191cbc91aee
      https://github.com/llvm/llvm-project/commit/cce3521020011b65b703549850d57191cbc91aee
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-03-14 (Mon, 14 Mar 2022)

  Changed paths:
    M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h

  Log Message:
  -----------
  [llvm-objcopy] Simplify CompressedSection creation. NFC

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

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D121644




More information about the All-commits mailing list