mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user