mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
Don't silently ignore invalid files: tell the user!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac6d4854e1
commit
eda20f933b
@ -345,6 +345,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
|
||||
<< Pathname << "': " << ErrorMessage << "\n";
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -345,6 +345,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
|
||||
<< Pathname << "': " << ErrorMessage << "\n";
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user