]> granicus.if.org Git - clang/commitdiff
Darwin: remove buggy assertion
authorTim Northover <tnorthover@apple.com>
Mon, 17 Feb 2014 11:12:04 +0000 (11:12 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 17 Feb 2014 11:12:04 +0000 (11:12 +0000)
We later emit a proper error in the situations where this would trigger, so
there's no need to check.

rdar://problem/16040604

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201508 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 60ca7ea195ab72c29c2a2f2bb9ff21f0fdf52a35..3784ee7351669a9a81ee5b672e0c5b58cefe9314 100644 (file)
@@ -866,8 +866,6 @@ DerivedArgList *MachO::TranslateArgs(const DerivedArgList &Args,
     else if (Name == "armv7s")
       DAL->AddJoinedArg(0, MArch, "armv7s");
 
-    else
-      llvm_unreachable("invalid Darwin arch");
   }
 
   return DAL;