mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
only print the override triple if it exists!
llvm-svn: 80534
This commit is contained in:
parent
5eec095b87
commit
2081eaa21d
@ -103,9 +103,10 @@ int main(int argc, char **argv) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user