]> granicus.if.org Git - llvm/commit
Reapply: [llvm-size] Tidy up error messages (PR42970)
authorJordan Rupprecht <rupprecht@google.com>
Mon, 14 Oct 2019 17:29:15 +0000 (17:29 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Mon, 14 Oct 2019 17:29:15 +0000 (17:29 +0000)
commit67d83413d07af4cebbf6e91b011c5f15d8fae7ba
tree77564a211edf5c70131c4c219087614f099c66e3
parent90e20e8610674d3e156059f12bb0770f32cc460f
Reapply: [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.

Originally submitted as r374771 and then reverted as r374780, this patch fixes the libObject test case in Object/macho-invalid.test.

Patch by Alex Cameron

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

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