]> granicus.if.org Git - llvm/commit
[llvm-size] Tidy up error messages (PR42970)
authorFangrui Song <maskray@google.com>
Mon, 14 Oct 2019 12:51:47 +0000 (12:51 +0000)
committerFangrui Song <maskray@google.com>
Mon, 14 Oct 2019 12:51:47 +0000 (12:51 +0000)
commitd24146fb6cd69e54b061ac43614e0b8389469e07
tree0e1cfb8ca9f791a9ad8a74866cf07b6ae70ed220
parent3ae7172022578ef42e3af723030adbce39f479aa
[llvm-size] Tidy up error messages (PR42970)

Clean up some formatting inconsistencies in the error messages and correctly exit with non-zero in all error cases.

Differential Revision: https://reviews.llvm.org/D68906
Patch by Alex Cameron

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374771 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-size/invalid-input.test
test/tools/llvm-size/no-input.test
tools/llvm-size/llvm-size.cpp