only print the override triple if it exists!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80534 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp
index e527b2a..565f3f9 100644
--- a/tools/bugpoint/bugpoint.cpp
+++ b/tools/bugpoint/bugpoint.cpp
@@ -103,9 +103,10 @@
LLVMContext& Context = getGlobalContext();
// If we have an override, set it and then track the triple we want Modules
// to use.
- if (!OverrideTriple.empty())
+ if (!OverrideTriple.empty()) {
TargetTriple.setTriple(OverrideTriple);
- outs() << "override triple is " << OverrideTriple << '\n';
+ outs() << "Override triple set to '" << OverrideTriple << "'\n";
+ }
BugDriver D(argv[0], AsChild, FindBugs, TimeoutValue, MemoryLimit, Context);
if (D.addSources(InputFilenames)) return 1;