[PATCH] D88113: [llvm-objcopy][NFC] refactor error handling. part 1.
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 13:19:21 PDT 2020
avl created this revision.
avl added reviewers: jhenderson, abrachet, grimar, alexshap.
Herald added a reviewer: rupprecht.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
avl requested review of this revision.
Herald added a subscriber: MaskRay.
Remove usages of special error reporting functions(error(),
reportError()). This patch is extracted from D87987 <https://reviews.llvm.org/D87987>.
Errors are reported as Expected<>/Error returning values.
This part is for MachO subfolder of llvm-objcopy.
Testing: check-all.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88113
Files:
llvm/tools/llvm-objcopy/CopyConfig.h
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
llvm/tools/llvm-objcopy/MachO/MachOReader.h
llvm/tools/llvm-objcopy/llvm-objcopy.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88113.293556.patch
Type: text/x-patch
Size: 8111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/f6aba30c/attachment.bin>
More information about the llvm-commits
mailing list