From: George Rimar Date: Tue, 26 Jul 2016 18:46:13 +0000 (+0000) Subject: [ELF] - replace error() with llvm_unreachable. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b567b628b781e8bf9cc411aedbdbc1a3705cfd91;p=platform%2Fupstream%2Fllvm.git [ELF] - replace error() with llvm_unreachable. llvm-svn: 276790 --- diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 904e94f..f3a3bbc 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -775,7 +775,7 @@ static uint64_t getSymbolValue(StringRef S) { return B->getVA(); break; default: - fatal("unsupported target"); + llvm_unreachable("unsupported target"); } error("symbol not found: " + S); return 0;