[ELF] - replace error() with llvm_unreachable.

llvm-svn: 276790
This commit is contained in:
George Rimar
2016-07-26 18:46:13 +00:00
parent 6930a6dc82
commit b567b628b7

View File

@@ -775,7 +775,7 @@ static uint64_t getSymbolValue(StringRef S) {
return B->getVA<ELF64BE>();
break;
default:
fatal("unsupported target");
llvm_unreachable("unsupported target");
}
error("symbol not found: " + S);
return 0;