Fix "control reaches end of non-void function" compiling lld on gcc.

llvm-svn: 177424
This commit is contained in:
Andy Gibbs 2013-03-19 19:13:36 +00:00
parent 638a9fa43e
commit 1fb8ce4002
1 changed files with 2 additions and 1 deletions

View File

@ -232,8 +232,9 @@ std::unique_ptr<Driver> Driver::create( Driver::Flavor flavor
case Flavor::ld64:
case Flavor::link:
case Flavor::invalid:
llvm_unreachable("Unsupported flavor");
break;
}
llvm_unreachable("Unsupported flavor");
}
std::unique_ptr<llvm::opt::ArgList>