[PATCH] D58316: [llvm-objcopy][NFC] More error cleanup

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 17:15:44 PST 2019

rupprecht created this revision.
rupprecht added a reviewer: jhenderson.
Herald added subscribers: llvm-commits, jdoerfert, jakehehrlich.
Herald added a reviewer: alexshap.
Herald added a project: LLVM.

This removes calls to `error()`/`reportError()` in the main driver (llvm-objcopy.cpp) as well as the associated argv-parsing (CopyConfig.cpp). `logAllUnhandledErrors()` is now the main way to print errors.

There are still a few uses from within the per-arch drivers, so we can't delete them yet... but almost!

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58316.187120.patch
Type: text/x-patch
Size: 23112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190216/5a1a6e0c/attachment.bin>

More information about the llvm-commits mailing list