summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-10-30 16:30:36 +0000
committerTim Northover <tnorthover@apple.com>2015-10-30 16:30:36 +0000
commit756447a67c39ba1e95cb5c92cbeb06f8a795b7fb (patch)
treeb26923de67a7995f9112ebdab252ddb3cf2f8a71 /clang/lib/Driver/ToolChains.cpp
parent67465f80eca80beb18f1602095fe03c76b74d52e (diff)
downloadbcm5719-llvm-756447a67c39ba1e95cb5c92cbeb06f8a795b7fb.tar.gz
bcm5719-llvm-756447a67c39ba1e95cb5c92cbeb06f8a795b7fb.zip
Watch and TV OS: wire up basic ABI choices
This sets the mostly expected Darwin default ABI options for these two platforms. Active changes from these defaults for watchOS are in a later patch. llvm-svn: 251708
Diffstat (limited to 'clang/lib/Driver/ToolChains.cpp')
-rw-r--r--clang/lib/Driver/ToolChains.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index d7b0ad1c441..b65c5c13608 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/lib/Driver/ToolChains.cpp
@@ -68,9 +68,7 @@ bool MachO::HasNativeLLVMSupport() const { return true; }
/// Darwin provides an ARC runtime starting in MacOS X 10.7 and iOS 5.0.
ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const {
if (isTargetWatchOSBased())
- // FIXME: not quite iOS because of version mismatch. Choose something for
- // now.
- return ObjCRuntime(ObjCRuntime::iOS, TargetVersion);
+ return ObjCRuntime(ObjCRuntime::WatchOS, TargetVersion);
if (isTargetIOSBased())
return ObjCRuntime(ObjCRuntime::iOS, TargetVersion);
if (isNonFragile)
OpenPOWER on IntegriCloud