forked from OSchip/llvm-project
ARM is a legitimate Darwin architecture; don't assert.
llvm-svn: 72538
This commit is contained in:
parent
e1dc193f35
commit
5d3a16f693
|
@ -74,7 +74,8 @@ DarwinHostInfo::DarwinHostInfo(const Driver &D, const llvm::Triple& Triple)
|
|||
: 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 &&
|
||||
|
|
Loading…
Reference in New Issue