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:
cf5414e
)
Silence MSVC warning about falling off the end of a function after a fully covered...
author
Reid Kleckner
<rnk@google.com>
Wed, 10 Feb 2016 19:28:13 +0000
(19:28 +0000)
committer
Reid Kleckner
<rnk@google.com>
Wed, 10 Feb 2016 19:28:13 +0000
(19:28 +0000)
llvm-svn: 260417
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
b/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
index
f3fbd5a
..
a46c5c2
100644
(file)
--- a/
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
+++ b/
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
@@
-414,6
+414,7
@@
bool MachOLinkingContext::minOS(StringRef mac, StringRef iOS) const {
// This matches the ld64 behaviour
return false;
}
+ llvm_unreachable("invalid OS enum");
}
bool MachOLinkingContext::addEntryPointLoadCommand() const {