Distinguish between unsupported and unrecognised flavours.

Suggested by Nick Kledzik in reference to r179590.

llvm-svn: 179617
This commit is contained in:
Andy Gibbs 2013-04-16 19:24:13 +00:00
parent b10e615c44
commit 93383381d7
1 changed files with 2 additions and 2 deletions

View File

@ -125,10 +125,10 @@ bool UniversalDriver::link(int argc, const char *argv[],
case Flavor::core:
return CoreDriver::link(args.size(), args.data(), diagnostics);
case Flavor::win_link:
break;
llvm_unreachable("Unsupported flavor");
case Flavor::invalid:
return true;
}
llvm_unreachable("Unsupported flavor");
llvm_unreachable("Unrecognised flavor");
}
} // end namespace lld