commit | d60ced8e086559b48d03e8392b2e9fe964a8fcf6 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jul 20 03:23:55 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jul 20 03:23:55 2015 +0000 |
tree | 0ada0a723920ccb17684157ff383358b2a01523d | |
parent | b9adbd998f266c9b5694947700743f93161d9c7a [diff] |
llvm-readobj: call exit(1) on error. llvm-readobj exists for testing llvm. We can safely stop the program the first time we know the input in corrupted. This is in preparation for making it handle a few more broken files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242656 91177308-0d34-0410-b5e6-96231b3b80d8