[cfe-commits] r72538 - /cfe/trunk/lib/Driver/HostInfo.cpp
Eli Friedman
eli.friedman at gmail.com
Thu May 28 13:57:07 PDT 2009
Author: efriedma
Date: Thu May 28 15:57:06 2009
New Revision: 72538
URL: http://llvm.org/viewvc/llvm-project?rev=72538&view=rev
Log:
ARM is a legitimate Darwin architecture; don't assert.
Modified:
cfe/trunk/lib/Driver/HostInfo.cpp
Modified: cfe/trunk/lib/Driver/HostInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/HostInfo.cpp?rev=72538&r1=72537&r2=72538&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/HostInfo.cpp (original)
+++ cfe/trunk/lib/Driver/HostInfo.cpp Thu May 28 15:57:06 2009
@@ -74,7 +74,8 @@
: HostInfo(D, Triple) {
assert((getArchName() == "i386" || getArchName() == "x86_64" ||
- getArchName() == "powerpc" || getArchName() == "powerpc64") &&
+ getArchName() == "powerpc" || getArchName() == "powerpc64" ||
+ getArchName() == "arm") &&
"Unknown Darwin arch.");
assert(memcmp(&getOSName()[0], "darwin", 6) == 0 &&
More information about the cfe-commits
mailing list