From 2695cfda691dae13aa30426e8bbb60804c39797f Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Mon, 17 Feb 2014 11:12:04 +0000 Subject: [PATCH] Darwin: remove buggy assertion 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 60ca7ea195..3784ee7351 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -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; -- 2.40.0