[llvm-objcopy] [COFF] Use Error/Expected returns instead of calling reportError....
commit7d9f83ae33fd885c50366ae926a3263a3e1d2533
authorMartin Storsjo <martin@martin.st>
Sun, 30 Dec 2018 20:35:43 +0000 (30 20:35 +0000)
committerMartin Storsjo <martin@martin.st>
Sun, 30 Dec 2018 20:35:43 +0000 (30 20:35 +0000)
tree78d619f17c18b6f85db373af73c03d7a2704ec17
parent55e4ae96b057cc4ff6e8d2176f60320861e9a807
[llvm-objcopy] [COFF] Use Error/Expected returns instead of calling reportError. NFC.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350168 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
tools/llvm-objcopy/COFF/Reader.cpp
tools/llvm-objcopy/COFF/Reader.h
tools/llvm-objcopy/COFF/Writer.cpp
tools/llvm-objcopy/COFF/Writer.h