Added another darwin subtarget

llvm-svn: 65662
This commit is contained in:
Mon P Wang 2009-02-28 00:25:30 +00:00
parent 015a4742c1
commit d844dc305e
1 changed files with 4 additions and 0 deletions

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) { } else if (TT.find("windows") != std::string::npos) {
TargetType = isWindows; TargetType = isWindows;
} }
else if (TT.find("-cl") != std::string::npos) {
TargetType = isDarwin;
DarwinVers = 9;
}
} else if (TT.empty()) { } else if (TT.empty()) {
#if defined(__CYGWIN__) #if defined(__CYGWIN__)
TargetType = isCygwin; TargetType = isCygwin;