mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08:00
[ELF] - replace error() with llvm_unreachable.
llvm-svn: 276790
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user