projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1789b0
)
Added another darwin subtarget
author
Mon P Wang
<wangmp@apple.com>
Sat, 28 Feb 2009 00:25:30 +0000
(
00:25
+0000)
committer
Mon P Wang
<wangmp@apple.com>
Sat, 28 Feb 2009 00:25:30 +0000
(
00:25
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65662
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86Subtarget.cpp
b/lib/Target/X86/X86Subtarget.cpp
index cd292a4a2c67d7f1a28f4a524732df46eb01ca89..6d2602a2ce9b838c5d0151b5ce9df97410cb09fd 100644
(file)
--- a/
lib/Target/X86/X86Subtarget.cpp
+++ b/
lib/Target/X86/X86Subtarget.cpp
@@
-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;