projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6930a6d
)
[ELF] - replace error() with llvm_unreachable.
author
George Rimar
<grimar@accesssoftek.com>
Tue, 26 Jul 2016 18:46:13 +0000
(18:46 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Tue, 26 Jul 2016 18:46:13 +0000
(18:46 +0000)
llvm-svn: 276790
lld/ELF/LinkerScript.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/LinkerScript.cpp
b/lld/ELF/LinkerScript.cpp
index
904e94f
..
f3a3bbc
100644
(file)
--- a/
lld/ELF/LinkerScript.cpp
+++ b/
lld/ELF/LinkerScript.cpp
@@
-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;