mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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
This commit is contained in:
parent
b374b90e81
commit
306110845a
@ -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