[all-commits] [llvm/llvm-project] 0373c7: [llvm-objcopy][NFC] refactor error handling. part 3.

avl-llvm via All-commits all-commits at lists.llvm.org
Fri Oct 2 13:56:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0373c768c56fc7ce6fe1efa48383f7b376e7bc2a
      https://github.com/llvm/llvm-project/commit/0373c768c56fc7ce6fe1efa48383f7b376e7bc2a
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
    M llvm/tools/llvm-objcopy/ELF/Object.cpp
    M llvm/tools/llvm-objcopy/ELF/Object.h
    M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/Object.cpp
    M llvm/tools/llvm-objcopy/llvm-objcopy.cpp
    R llvm/tools/llvm-objcopy/llvm-objcopy.h
    M llvm/tools/llvm-objcopy/wasm/WasmObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy][NFC] refactor error handling. part 3.

Remove usages of special error reporting functions(error(),
reportError()). Errors are reported as Expected<>/Error returning
values. This part is for ELF subfolder of llvm-objcopy.

Testing: check-all.

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




More information about the All-commits mailing list