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:
3c45ed2
)
Fixed "not all control paths return a value" warning. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Wed, 9 Mar 2016 18:05:34 +0000
(18:05 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Wed, 9 Mar 2016 18:05:34 +0000
(18:05 +0000)
llvm-svn: 263040
lld/ELF/InputFiles.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/InputFiles.cpp
b/lld/ELF/InputFiles.cpp
index
951820a
..
ee5c691
100644
(file)
--- a/
lld/ELF/InputFiles.cpp
+++ b/
lld/ELF/InputFiles.cpp
@@
-426,6
+426,7
@@
static uint8_t getGvVisibility(const GlobalValue *GV) {
case GlobalValue::ProtectedVisibility:
return STV_PROTECTED;
}
+ llvm_unreachable("Unknown visibility");
}
void BitcodeFile::parse(DenseSet<StringRef> &ComdatGroups) {