r201508 - Darwin: remove buggy assertion
Tim Northover
tnorthover at apple.com
Mon Feb 17 03:12:04 PST 2014
Author: tnorthover
Date: Mon Feb 17 05:12:04 2014
New Revision: 201508
URL: http://llvm.org/viewvc/llvm-project?rev=201508&view=rev
Log:
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
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=201508&r1=201507&r2=201508&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Mon Feb 17 05:12:04 2014
@@ -866,8 +866,6 @@ DerivedArgList *MachO::TranslateArgs(con
else if (Name == "armv7s")
DAL->AddJoinedArg(0, MArch, "armv7s");
- else
- llvm_unreachable("invalid Darwin arch");
}
return DAL;
More information about the cfe-commits
mailing list