summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-31 03:07:23 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-31 03:07:23 +0000
commit4628282face59b60d124b5289bb134e15525ce0e (patch)
tree2707fde5deb9051b8b743826bdd4939dd5e21f91 /llvm/tools/bugpoint/BugDriver.cpp
parent1819953db52c8e5bc7790d3dd20ad342bf77a161 (diff)
downloadbcm5719-llvm-4628282face59b60d124b5289bb134e15525ce0e.tar.gz
bcm5719-llvm-4628282face59b60d124b5289bb134e15525ce0e.zip
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! llvm-svn: 233667
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/BugDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp
index 865cb513c55..43f4c2963fc 100644
--- a/llvm/tools/bugpoint/BugDriver.cpp
+++ b/llvm/tools/bugpoint/BugDriver.cpp
@@ -93,7 +93,7 @@ std::unique_ptr<Module> llvm::parseInputFile(StringRef Filename,
}
if (verifyModule(*Result, &errs())) {
- errs() << "bugpoint: " << Filename << ": error: does not verify\n";
+ errs() << "bugpoint: " << Filename << ": error: input module is broken!\n";
return std::unique_ptr<Module>();
}
OpenPOWER on IntegriCloud