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

avl-llvm via All-commits all-commits at lists.llvm.org
Thu Sep 24 04:39:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ed04f93e30121867a813a220452b97aebeb1730
      https://github.com/llvm/llvm-project/commit/3ed04f93e30121867a813a220452b97aebeb1730
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOReader.h

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

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

Testing: check-all.

Reviewed By: jhenderson, alexshap

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




More information about the All-commits mailing list