file other than one named "-".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35478
91177308-0d34-0410-b5e6-
96231b3b80d8
static void DumpSymbolNamesFromFile(std::string &Filename) {
std::string ErrorMessage;
sys::Path aPath(Filename);
- if (Filename != "-") {
- std::cerr << ToolName << ": " << Filename << ": " << strerror (errno)
- << "\n";
- return;
- }
// Note: Currently we do not support reading an archive from stdin.
if (Filename == "-" || aPath.isBytecodeFile()) {
Module *Result = ParseBytecodeFile(Filename,