[llvm-commits] [llvm] r80534 - /llvm/trunk/tools/bugpoint/bugpoint.cpp
Chris Lattner
sabre at nondot.org
Sun Aug 30 20:22:35 PDT 2009
Author: lattner
Date: Sun Aug 30 22:22:35 2009
New Revision: 80534
URL: http://llvm.org/viewvc/llvm-project?rev=80534&view=rev
Log:
only print the override triple if it exists!
Modified:
llvm/trunk/tools/bugpoint/bugpoint.cpp
Modified: llvm/trunk/tools/bugpoint/bugpoint.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/bugpoint.cpp?rev=80534&r1=80533&r2=80534&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/bugpoint.cpp (original)
+++ llvm/trunk/tools/bugpoint/bugpoint.cpp Sun Aug 30 22:22:35 2009
@@ -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;
More information about the llvm-commits
mailing list