Added another darwin subtarget

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mon P Wang 2009-02-28 00:25:30 +00:00
parent b1789b003c
commit 9feb5dd568

View File

@ -369,6 +369,10 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit)
} else if (TT.find("windows") != std::string::npos) {
TargetType = isWindows;
}
else if (TT.find("-cl") != std::string::npos) {
TargetType = isDarwin;
DarwinVers = 9;
}
} else if (TT.empty()) {
#if defined(__CYGWIN__)
TargetType = isCygwin;