tools: Unify how verifyModule() is called
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 03:07:23 +0000 (03:07 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 03:07:23 +0000 (03:07 +0000)
commit4e5fdbfc61a1fb4efd5e9eb0e208e1bde91f9853
tree5fc019fe1e9ceda2a1791d8dccea11fbca133c70
parent8ffc5ca5320db705acbb6f2e42660118c3ff4390
tools: Unify how verifyModule() is called

Unify the error messages for the various tools when `verifyModule()`
fails on an input module.  The "brave new way" is:

    lltool: path/to/input.ll: error: input module is broken!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233667 91177308-0d34-0410-b5e6-96231b3b80d8
test/Linker/broken.ll
tools/bugpoint/BugDriver.cpp
tools/llc/llc.cpp
tools/llvm-link/llvm-link.cpp
tools/opt/opt.cpp
tools/verify-uselistorder/verify-uselistorder.cpp