[PATCH] D68906: [llvm-size] Tidy up error messages
Alex Cameron via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 23:34:46 PDT 2019
tetsuo-cpp created this revision.
tetsuo-cpp added reviewers: grimar, MaskRay.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a project: LLVM.
Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=42970
This patch is to clean up some formatting inconsistencies in the error messages of `llvm-size` and to correctly exit with non-zero in all error cases (there were a few which were exiting with zero). When working on the error messages, I based the formatting off the way that `llvm-objdump` does it.
Repository:
rL LLVM
https://reviews.llvm.org/D68906
Files:
llvm/test/tools/llvm-size/invalid-input.test
llvm/test/tools/llvm-size/no-input.test
llvm/tools/llvm-size/llvm-size.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68906.224730.patch
Type: text/x-patch
Size: 6692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191012/e47e2aec/attachment.bin>
More information about the llvm-commits
mailing list