forked from OSchip/llvm-project
Distinguish between unsupported and unrecognised flavours.
Suggested by Nick Kledzik in reference to r179590. llvm-svn: 179617
This commit is contained in:
parent
b10e615c44
commit
93383381d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue