diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-02-21 17:05:19 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-02-21 17:05:19 +0000 |
commit | ad29d29130a62f71bc0b00e8743f5fb6e1e41258 (patch) | |
tree | 5b4d99389cd313ff69493e4730a4e1aaabb2898b /llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test | |
parent | 1ed3a0467c93817f669ece91bf008e3997e98230 (diff) | |
download | bcm5719-llvm-ad29d29130a62f71bc0b00e8743f5fb6e1e41258.tar.gz bcm5719-llvm-ad29d29130a62f71bc0b00e8743f5fb6e1e41258.zip |
[llvm-objcopy][NFC] More error cleanup
Summary:
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!
Reviewers: jhenderson, alexshap, espindola
Reviewed By: jhenderson
Subscribers: emaste, arichardson, jakehehrlich, jdoerfert, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58316
llvm-svn: 354600
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test b/llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test index 820e569ad7b..4b7736e1900 100644 --- a/llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test +++ b/llvm/test/tools/llvm-objcopy/ELF/binary-input-error.test @@ -6,5 +6,5 @@ # RUN: not llvm-objcopy -I binary -B xyz %t.txt %t.o 2>&1 \ # RUN: | FileCheck %s --check-prefix=BAD-BINARY-ARCH -# MISSING-BINARY-ARCH: Specified binary input without specifiying an architecture. -# BAD-BINARY-ARCH: Invalid architecture: 'xyz'. +# MISSING-BINARY-ARCH: Specified binary input without specifiying an architecture +# BAD-BINARY-ARCH: Invalid architecture: 'xyz' |