Silence MSVC warning about falling off the end of a function after a fully covered...
authorReid Kleckner <rnk@google.com>
Wed, 10 Feb 2016 19:28:13 +0000 (19:28 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 10 Feb 2016 19:28:13 +0000 (19:28 +0000)
llvm-svn: 260417

lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp

index f3fbd5a..a46c5c2 100644 (file)
@@ -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 {